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.0924/0.0924, allocations: 15.28 MB / 31.59 MB, free: 4.152 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.001082/0.001082, allocations: 98.61 kB / 36.59 MB, free: 3.156 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.001837/0.001837, allocations: 194.1 kB / 41.7 MB, free: 7.121 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.42/1.42, allocations: 222.9 MB / 269.6 MB, free: 6.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.134/0.134, allocations: 23.35 MB / 347.2 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 111.8 kB / 480.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 59.36 MB / 0.5274 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06389/0.4123, allocations: 59.22 MB / 0.5852 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03187/0.4442, allocations: 28.07 MB / 0.6127 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.4455, allocations: 19.88 kB / 0.6127 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.4472, allocations: 425.2 kB / 0.6131 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008306/0.4556, allocations: 2.72 MB / 0.6157 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.4663, allocations: 3.635 MB / 0.6193 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002979/0.4693, allocations: 1.883 MB / 0.6211 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.471, allocations: 1.017 MB / 0.6221 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006885/0.4779, allocations: 3.014 MB / 0.6251 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.4825, allocations: 1.367 MB / 0.6264 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.483, allocations: 124 kB / 0.6265 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.4951, allocations: 4.024 MB / 0.6304 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007476/0.4959, allocations: 0.5339 MB / 0.631 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.4971, allocations: 0.7392 MB / 0.6317 GB, free: 8.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.511, allocations: 5.539 MB / 0.6371 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5111, allocations: 3.938 kB / 0.6371 GB, free: 3.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5111, allocations: 0 / 0.6371 GB, free: 3.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.846e-05/0.5111, allocations: 0 / 0.6371 GB, free: 3.398 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.005196/0.5163, allocations: 2.165 MB / 0.6392 GB, free: 1.172 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5164, allocations: 8.031 kB / 0.6392 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.5177, allocations: 294.8 kB / 0.6395 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5191, allocations: 0.7753 MB / 0.6403 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/0.5192, allocations: 74.05 kB / 0.6403 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.5194, allocations: 103.9 kB / 0.6404 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.5222, allocations: 1.814 MB / 0.6422 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.5222, allocations: 0 / 0.6422 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.5223, allocations: 36 kB / 0.6422 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.5225, allocations: 85.94 kB / 0.6423 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.5259, allocations: 2.245 MB / 0.6445 GB, free: 11.62 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.008847/0.5348, allocations: 6.365 MB / 0.6507 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.5372, allocations: 1.289 MB / 0.652 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.5381, allocations: 0.6949 MB / 0.6527 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005009/0.5431, allocations: 3.569 MB / 0.6561 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5432, allocations: 43.56 kB / 0.6562 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005327/0.5437, allocations: 115.2 kB / 0.6563 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 4.238e-06/0.5437, allocations: 0 / 0.6563 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005132/0.5489, allocations: 2.557 MB / 0.6588 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5489, allocations: 60.41 kB / 0.6589 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.5498, allocations: 0.7738 MB / 0.6596 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.5499, allocations: 37.7 kB / 0.6596 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.5503, allocations: 0.5082 MB / 0.6601 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.5506, allocations: 364.8 kB / 0.6605 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/0.551, allocations: 254.8 kB / 0.6607 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5512, allocations: 406.7 kB / 0.6611 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.5522, allocations: 0.635 MB / 0.6617 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.5534, allocations: 0.942 MB / 0.6627 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.5558, allocations: 1.654 MB / 0.6643 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.5558, allocations: 4 kB / 0.6643 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003088/0.5589, allocations: 1.873 MB / 0.6661 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.559, allocations: 8 kB / 0.6661 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.559, allocations: 16.06 kB / 0.6661 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.5604, allocations: 309.3 kB / 0.6664 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5615, allocations: 279.6 kB / 0.6667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.5626, allocations: 1.241 MB / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.5634, allocations: 39.98 kB / 0.6679 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5635, allocations: 83.95 kB / 0.668 GB, free: 2.684 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.000524/0.5641, allocations: 328.5 kB / 0.6683 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5643, allocations: 95.38 kB / 0.6684 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.5685, allocations: 2.42 MB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5685, allocations: 11.92 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5686, allocations: 0 / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.569, allocations: 304.2 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5693, allocations: 20 kB / 0.6711 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.5698, allocations: 23.98 kB / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5699, allocations: 68.91 kB / 0.6712 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002952/0.5729, allocations: 1.658 MB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003301/0.5762, allocations: 2.504 MB / 0.6753 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009209/0.5771, allocations: 0.691 MB / 0.6759 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007891/0.5779, allocations: 0.6123 MB / 0.6765 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of Backend: time 2.31e-07/0.5779, allocations: 3.938 kB / 0.6765 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.5852, allocations: 3.088 MB / 0.6796 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004634/0.5898, allocations: 2.958 MB / 0.6824 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.06927/0.6591, allocations: 47.92 MB / 0.7292 GB, free: 4.008 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)