Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005041/0.005041, allocations: 94.64 kB / 15.73 MB, free: 6.039 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.00127/0.00127, allocations: 202 kB / 16.68 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 66.56 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1856, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.6705/0.8562, allocations: 176 MB / 0.8315 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.8676, allocations: 8.703 MB / 0.84 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.8689, allocations: 22.81 kB / 0.84 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.8698, allocations: 301.5 kB / 0.8403 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.8709, allocations: 304 kB / 0.8406 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.8722, allocations: 380.8 kB / 0.841 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.8736, allocations: 1.148 MB / 0.8421 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008969/0.8745, allocations: 0.593 MB / 0.8427 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006127/0.8807, allocations: 2.061 MB / 0.8447 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.8816, allocations: 353.2 kB / 0.845 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.8817, allocations: 40.53 kB / 0.8451 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.882, allocations: 84.38 kB / 0.8452 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.8824, allocations: 260 kB / 0.8454 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.8828, allocations: 279.3 kB / 0.8457 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8838, allocations: 0.6512 MB / 0.8463 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8838, allocations: 0 / 0.8463 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8838, allocations: 0.7812 kB / 0.8463 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.8838, allocations: 0 / 0.8463 GB, free: 2.777 MB / 0.6387 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.001/0.8848, allocations: 0.8384 MB / 0.8471 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8849, allocations: 9.703 kB / 0.8471 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.885, allocations: 69.2 kB / 0.8472 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.8856, allocations: 456.5 kB / 0.8476 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.8856, allocations: 42.02 kB / 0.8477 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.8857, allocations: 51.86 kB / 0.8477 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.8866, allocations: 0.6984 MB / 0.8484 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.8867, allocations: 3.875 kB / 0.8484 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.8867, allocations: 27.28 kB / 0.8484 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.8868, allocations: 28.16 kB / 0.8485 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.8874, allocations: 381.1 kB / 0.8488 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.8898, allocations: 3.224 MB / 0.852 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.8901, allocations: 223 kB / 0.8522 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.8902, allocations: 124.5 kB / 0.8523 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.8903, allocations: 7.062 kB / 0.8523 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.8903, allocations: 45.75 kB / 0.8524 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/0.8903, allocations: 0.9375 kB / 0.8524 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006687/0.891, allocations: 255 kB / 0.8526 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.8912, allocations: 293.5 kB / 0.8529 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.8919, allocations: 0.683 MB / 0.8535 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.892, allocations: 30.83 kB / 0.8536 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.8922, allocations: 264.4 kB / 0.8538 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.8922, allocations: 39.53 kB / 0.8539 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.8923, allocations: 27.67 kB / 0.8539 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8924, allocations: 374.8 kB / 0.8543 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.8925, allocations: 40.75 kB / 0.8543 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.8927, allocations: 102.2 kB / 0.8544 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.8929, allocations: 125.2 kB / 0.8545 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.893, allocations: 3.406 kB / 0.8545 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003359/0.8933, allocations: 188.1 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8933, allocations: 5.375 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.8933, allocations: 3.531 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8934, allocations: 2.219 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.8936, allocations: 42.61 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8936, allocations: 3.75 kB / 0.8547 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.8938, allocations: 61.91 kB / 0.8548 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.8939, allocations: 13.06 kB / 0.8548 GB, free: 13.73 MB / 0.6544 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.0002125/0.8941, allocations: 203.8 kB / 0.855 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8943, allocations: 60.75 kB / 0.8551 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.8944, allocations: 62.11 kB / 0.8551 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8945, allocations: 3.438 kB / 0.8551 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.8945, allocations: 5.031 kB / 0.8551 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8945, allocations: 2.594 kB / 0.8551 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.8959, allocations: 1.307 MB / 0.8564 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8959, allocations: 2.094 kB / 0.8564 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.8961, allocations: 44.17 kB / 0.8565 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8961, allocations: 4.094 kB / 0.8565 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8961, allocations: 7.844 kB / 0.8565 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8961, allocations: 2.125 kB / 0.8565 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8961, allocations: 6.75 kB / 0.8565 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.8965, allocations: 334.3 kB / 0.8568 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8967, allocations: 151.5 kB / 0.8569 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.8967, allocations: 4.906 kB / 0.8569 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.8969, allocations: 15.78 kB / 0.857 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.897, allocations: 16.11 kB / 0.857 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.897, allocations: 6.031 kB / 0.857 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005166/0.8975, allocations: 0.4955 MB / 0.8575 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8975, allocations: 2.078 kB / 0.8575 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004019/0.8979, allocations: 80.23 kB / 0.8575 GB, free: 12.13 MB / 0.6544 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.0003523/0.8983, allocations: 149.9 kB / 0.8577 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.8986, allocations: 107 kB / 0.8578 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8986, allocations: 3.594 kB / 0.8578 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.8987, allocations: 64.2 kB / 0.8579 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.9, allocations: 283 kB / 0.8581 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.9013, allocations: 0.8859 MB / 0.859 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.9018, allocations: 0.908 MB / 0.8599 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.902, allocations: 105 kB / 0.86 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.9021, allocations: 36.78 kB / 0.86 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.9021, allocations: 0 / 0.86 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.01604/0.9182, allocations: 8.465 MB / 0.8683 GB, free: 10.45 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)