Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") translateModel(Physiolibrary.Fluid.Examples.AirWaterSaturation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1109/0.1109, allocations: 15.29 MB / 31.6 MB, free: 4.145 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.02 kB / 36.59 MB, free: 3.176 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 194.1 kB / 41.7 MB, free: 7.141 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 269.6 MB, free: 6.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1368/0.1368, allocations: 23.35 MB / 347.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 111.8 kB / 480.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.285, allocations: 59.36 MB / 0.5274 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06511/0.3502, allocations: 59.22 MB / 0.5852 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/0.3802, allocations: 28.06 MB / 0.6126 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.3813, allocations: 15.94 kB / 0.6127 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.3826, allocations: 433.1 kB / 0.6131 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.3894, allocations: 2.685 MB / 0.6157 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009107/0.3986, allocations: 3.604 MB / 0.6192 GB, free: 5.672 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002635/0.4012, allocations: 1.906 MB / 0.6211 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.4024, allocations: 1.017 MB / 0.6221 GB, free: 2.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.4079, allocations: 3.026 MB / 0.625 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.4119, allocations: 1.369 MB / 0.6264 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.4123, allocations: 128 kB / 0.6265 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009899/0.4222, allocations: 4.008 MB / 0.6304 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006177/0.4228, allocations: 0.5416 MB / 0.6309 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008835/0.4237, allocations: 0.743 MB / 0.6317 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.4364, allocations: 5.514 MB / 0.637 GB, free: 3.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4364, allocations: 3.984 kB / 0.637 GB, free: 3.441 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4364, allocations: 4 kB / 0.637 GB, free: 3.438 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.4364, allocations: 0 / 0.637 GB, free: 3.438 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.003941/0.4404, allocations: 2.1 MB / 0.6391 GB, free: 1.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4404, allocations: 12.03 kB / 0.6391 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.4416, allocations: 282.2 kB / 0.6394 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4429, allocations: 0.7748 MB / 0.6401 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.443, allocations: 74 kB / 0.6402 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.4432, allocations: 104 kB / 0.6403 GB, free: 0 / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.4457, allocations: 1.807 MB / 0.6421 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.4458, allocations: 7.875 kB / 0.6421 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.4459, allocations: 40 kB / 0.6421 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.4461, allocations: 81.94 kB / 0.6422 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.4494, allocations: 2.252 MB / 0.6444 GB, free: 11.73 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008535/0.4579, allocations: 6.349 MB / 0.6506 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.4603, allocations: 1.288 MB / 0.6518 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009536/0.4612, allocations: 0.6949 MB / 0.6525 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005074/0.4663, allocations: 3.565 MB / 0.656 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4664, allocations: 39.56 kB / 0.656 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004901/0.4669, allocations: 118.8 kB / 0.6562 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.4669, allocations: 0 / 0.6562 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.00518/0.4721, allocations: 2.545 MB / 0.6586 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4721, allocations: 60.41 kB / 0.6587 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.4731, allocations: 0.7737 MB / 0.6595 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.4732, allocations: 41.64 kB / 0.6595 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.4735, allocations: 0.4911 MB / 0.66 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.4738, allocations: 347 kB / 0.6603 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.4742, allocations: 254.7 kB / 0.6606 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4743, allocations: 398.7 kB / 0.6609 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009485/0.4753, allocations: 0.6428 MB / 0.6616 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.4765, allocations: 0.9381 MB / 0.6625 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.4787, allocations: 1.666 MB / 0.6641 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4788, allocations: 0 / 0.6641 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002964/0.4817, allocations: 1.869 MB / 0.6659 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4818, allocations: 8 kB / 0.6659 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4818, allocations: 23.86 kB / 0.666 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.4832, allocations: 297.6 kB / 0.6662 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4843, allocations: 283.6 kB / 0.6665 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.4853, allocations: 1.241 MB / 0.6677 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.4861, allocations: 43.89 kB / 0.6678 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4863, allocations: 88.11 kB / 0.6678 GB, free: 2.848 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.4868, allocations: 321.4 kB / 0.6682 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.487, allocations: 86.88 kB / 0.6682 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.4911, allocations: 2.434 MB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.4912, allocations: 3.984 kB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4912, allocations: 48 / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/0.4917, allocations: 291.8 kB / 0.6709 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4919, allocations: 23.94 kB / 0.6709 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.4924, allocations: 23.98 kB / 0.6709 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4925, allocations: 68.91 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002927/0.4955, allocations: 1.658 MB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003288/0.4988, allocations: 2.499 MB / 0.6751 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009275/0.4997, allocations: 0.695 MB / 0.6757 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007377/0.5005, allocations: 0.6122 MB / 0.6763 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of Backend: time 4.8e-07/0.5005, allocations: 0 / 0.6763 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006133/0.5066, allocations: 3.067 MB / 0.6793 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00414/0.5108, allocations: 2.922 MB / 0.6822 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.06635/0.5771, allocations: 47.91 MB / 0.729 GB, free: 4.266 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1)