Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: translateModel(Physiolibrary.Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization") translateModel(Physiolibrary.Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 102 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3234/0.3234, allocations: 36.68 MB / 376.7 MB, free: 41.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 446.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1611, allocations: 58.91 MB / 0.4935 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.WaterVaporization): time 0.2053/0.3665, allocations: 7.398 MB / 0.5007 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.3812, allocations: 14.48 MB / 0.5148 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.3829, allocations: 31.84 kB / 0.5149 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3841, allocations: 300.4 kB / 0.5152 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.3874, allocations: 0.9725 MB / 0.5161 GB, free: 27.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.3928, allocations: 1.706 MB / 0.5178 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3949, allocations: 1.542 MB / 0.5193 GB, free: 25.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009609/0.3959, allocations: 0.8356 MB / 0.5201 GB, free: 25.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.3967, allocations: 0.738 MB / 0.5208 GB, free: 25.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.3975, allocations: 0.8165 MB / 0.5216 GB, free: 25.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3976, allocations: 99.5 kB / 0.5217 GB, free: 25.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.4021, allocations: 1.41 MB / 0.5231 GB, free: 24.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.4024, allocations: 290.3 kB / 0.5234 GB, free: 24.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.4031, allocations: 0.7014 MB / 0.524 GB, free: 24.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.4092, allocations: 3.002 MB / 0.527 GB, free: 22.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4093, allocations: 3 kB / 0.527 GB, free: 22.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4093, allocations: 4 kB / 0.527 GB, free: 22.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.4093, allocations: 0 / 0.527 GB, free: 22.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003117/0.4124, allocations: 1.839 MB / 0.5288 GB, free: 21.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4125, allocations: 9.625 kB / 0.5288 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.4137, allocations: 312.1 kB / 0.5291 GB, free: 21.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.4146, allocations: 0.6628 MB / 0.5297 GB, free: 21.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.4147, allocations: 96.88 kB / 0.5298 GB, free: 21.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.4149, allocations: 137 kB / 0.53 GB, free: 21.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.4169, allocations: 1.526 MB / 0.5314 GB, free: 20.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.417, allocations: 0.625 kB / 0.5314 GB, free: 20.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.4171, allocations: 49.84 kB / 0.5315 GB, free: 20.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.4171, allocations: 38.2 kB / 0.5315 GB, free: 20.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.4195, allocations: 1.852 MB / 0.5333 GB, free: 19.81 MB / 378.7 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.006716/0.4262, allocations: 4.651 MB / 0.5379 GB, free: 17.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.4278, allocations: 1.353 MB / 0.5392 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.4285, allocations: 0.5296 MB / 0.5397 GB, free: 16.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005734/0.4342, allocations: 4.611 MB / 0.5442 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4343, allocations: 42.41 kB / 0.5443 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003712/0.4347, allocations: 75.12 kB / 0.5443 GB, free: 12.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.4347, allocations: 0 / 0.5443 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.0187/0.4534, allocations: 4.276 MB / 0.5485 GB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4535, allocations: 61.25 kB / 0.5486 GB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.4543, allocations: 0.5826 MB / 0.5491 GB, free: 10.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.4545, allocations: 40.52 kB / 0.5492 GB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.4548, allocations: 0.5846 MB / 0.5498 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.4551, allocations: 348.7 kB / 0.5501 GB, free: 9.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.4554, allocations: 234.3 kB / 0.5503 GB, free: 9.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4556, allocations: 393.5 kB / 0.5507 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.4562, allocations: 412.6 kB / 0.5511 GB, free: 9.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.4573, allocations: 0.7779 MB / 0.5518 GB, free: 8.574 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02478/0.482, allocations: 4.443 MB / 0.5562 GB, free: 6.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4821, allocations: 8.219 kB / 0.5562 GB, free: 6.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005171/0.4872, allocations: 1.756 MB / 0.5579 GB, free: 6.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4873, allocations: 14.31 kB / 0.5579 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4873, allocations: 12.75 kB / 0.5579 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.4907, allocations: 474.5 kB / 0.5584 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.4917, allocations: 287.4 kB / 0.5586 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.4974, allocations: 4.092 MB / 0.5626 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.4984, allocations: 75.5 kB / 0.5627 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4985, allocations: 74.55 kB / 0.5628 GB, free: 2.07 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004527/0.499, allocations: 287.9 kB / 0.5631 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.4991, allocations: 86.88 kB / 0.5631 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.505, allocations: 1.732 MB / 0.5648 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.505, allocations: 8 kB / 0.5648 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.505, allocations: 8.875 kB / 0.5649 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5051, allocations: 3.984 kB / 0.5649 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/0.5127, allocations: 2.934 MB / 0.5677 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.5127, allocations: 4 kB / 0.5677 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.5135, allocations: 191.8 kB / 0.5679 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/0.5179, allocations: 0.534 MB / 0.5684 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/0.518, allocations: 35.98 kB / 0.5685 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007893/0.5259, allocations: 5.25 MB / 0.5736 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.526, allocations: 4 kB / 0.5736 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08405/0.61, allocations: 20.18 MB / 0.5933 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.6103, allocations: 160 kB / 0.5935 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6104, allocations: 27.94 kB / 0.5935 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.6109, allocations: 35.98 kB / 0.5935 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.6112, allocations: 104.9 kB / 0.5936 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.6113, allocations: 43.98 kB / 0.5937 GB, free: 1.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.6118, allocations: 387.1 kB / 0.594 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6118, allocations: 0 / 0.594 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002408/0.6142, allocations: 0.7575 MB / 0.5948 GB, free: 148 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.6154, allocations: 0.6268 MB / 0.5954 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.6178, allocations: 1.413 MB / 0.5968 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6178, allocations: 1 kB / 0.5968 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.6192, allocations: 0.9936 MB / 0.5977 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.6203, allocations: 193.5 kB / 0.5979 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.626, allocations: 3.796 MB / 0.6016 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.6267, allocations: 1.107 MB / 0.6027 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0011/0.6279, allocations: 250.1 kB / 0.6029 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6282, allocations: 168.3 kB / 0.6031 GB, free: 7.398 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6282, allocations: 0 / 0.6031 GB, free: 7.398 MB / 426.7 MB Notification: Performance of Templates: time 0.04239/0.6706, allocations: 29.46 MB / 0.6319 GB, free: 10.05 MB / 458.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.WaterVaporization.pipe 2>&1)