Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 107.9 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.783/0.783, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 63.72 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.6252/0.795, allocations: 176 MB / 0.8372 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.8073, allocations: 8.701 MB / 0.8457 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.8087, allocations: 20.06 kB / 0.8457 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.8101, allocations: 301 kB / 0.846 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.8114, allocations: 309.8 kB / 0.8463 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.8127, allocations: 370.1 kB / 0.8466 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.8143, allocations: 1.152 MB / 0.8477 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.8154, allocations: 0.5934 MB / 0.8483 GB, free: 48 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.8207, allocations: 2.062 MB / 0.8503 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.8214, allocations: 345.9 kB / 0.8507 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.8215, allocations: 40.12 kB / 0.8507 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.8219, allocations: 88.33 kB / 0.8508 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.8222, allocations: 254.6 kB / 0.851 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.8227, allocations: 291.6 kB / 0.8513 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.8236, allocations: 0.6402 MB / 0.8519 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8236, allocations: 0 / 0.8519 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8236, allocations: 0 / 0.8519 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.535e-05/0.8237, allocations: 0 / 0.8519 GB, free: 13.65 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001435/0.8251, allocations: 0.8314 MB / 0.8527 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8252, allocations: 10.64 kB / 0.8528 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.8253, allocations: 64.41 kB / 0.8528 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.8261, allocations: 453.6 kB / 0.8532 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.8261, allocations: 39.84 kB / 0.8533 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.8262, allocations: 55.55 kB / 0.8533 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.8273, allocations: 0.707 MB / 0.854 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.8274, allocations: 1.781 kB / 0.854 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.8274, allocations: 29.86 kB / 0.8541 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.8275, allocations: 34.42 kB / 0.8541 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.8281, allocations: 373.1 kB / 0.8544 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.831, allocations: 3.209 MB / 0.8576 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.8313, allocations: 214.3 kB / 0.8578 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.8315, allocations: 127 kB / 0.8579 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.8315, allocations: 10.67 kB / 0.8579 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8316, allocations: 51.44 kB / 0.858 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 3.707e-06/0.8316, allocations: 3.984 kB / 0.858 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0007403/0.8323, allocations: 244.2 kB / 0.8582 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.8325, allocations: 293.7 kB / 0.8585 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.8332, allocations: 0.6865 MB / 0.8592 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.8333, allocations: 32.23 kB / 0.8592 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.8335, allocations: 264.7 kB / 0.8594 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.8335, allocations: 36.06 kB / 0.8595 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.8336, allocations: 28.31 kB / 0.8595 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8338, allocations: 376.6 kB / 0.8599 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.8339, allocations: 31.5 kB / 0.8599 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8341, allocations: 95.25 kB / 0.86 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.8343, allocations: 125.1 kB / 0.8601 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8343, allocations: 0 / 0.8601 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000376/0.8347, allocations: 199 kB / 0.8603 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8347, allocations: 11.38 kB / 0.8603 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8347, allocations: 2.719 kB / 0.8603 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.8348, allocations: 2.219 kB / 0.8603 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.835, allocations: 39.27 kB / 0.8603 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.835, allocations: 192 / 0.8603 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.8353, allocations: 65.45 kB / 0.8604 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.8353, allocations: 7.094 kB / 0.8604 GB, free: 6.426 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.8355, allocations: 200.8 kB / 0.8606 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.8357, allocations: 65.52 kB / 0.8607 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.8358, allocations: 57.73 kB / 0.8607 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8358, allocations: 2.312 kB / 0.8607 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8358, allocations: 6.531 kB / 0.8607 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8359, allocations: 6.594 kB / 0.8607 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.8372, allocations: 1.3 MB / 0.862 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.8373, allocations: 9.281 kB / 0.862 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.8374, allocations: 40.17 kB / 0.862 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.8375, allocations: 2.281 kB / 0.862 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8375, allocations: 6.562 kB / 0.8621 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8375, allocations: 9.109 kB / 0.8621 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.8375, allocations: 12.11 kB / 0.8621 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.838, allocations: 333 kB / 0.8624 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.8382, allocations: 148.3 kB / 0.8625 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.8383, allocations: 4 kB / 0.8625 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.8385, allocations: 11.98 kB / 0.8626 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.8385, allocations: 19.92 kB / 0.8626 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.8385, allocations: 7.938 kB / 0.8626 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005647/0.8391, allocations: 0.4951 MB / 0.8631 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8391, allocations: 0 / 0.8631 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004033/0.8395, allocations: 83.84 kB / 0.8631 GB, free: 3.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/0.8399, allocations: 130.6 kB / 0.8633 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.8402, allocations: 115.8 kB / 0.8634 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8402, allocations: 0 / 0.8634 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.8404, allocations: 60.77 kB / 0.8634 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.8417, allocations: 287.8 kB / 0.8637 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.8431, allocations: 0.906 MB / 0.8646 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.8436, allocations: 0.9088 MB / 0.8655 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.8437, allocations: 35.44 kB / 0.8655 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.8437, allocations: 0 / 0.8655 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.01292/0.8567, allocations: 7.853 MB / 0.8732 GB, free: 9.531 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)