Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009991, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.001295/0.001296, allocations: 184 kB / 17.58 MB, free: 6.188 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.401/1.401, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 77.52 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05712/0.4274, allocations: 59.72 MB / 0.6189 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4464, allocations: 11.92 MB / 0.6305 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.4494, allocations: 51.62 kB / 0.6306 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.4519, allocations: 0.5477 MB / 0.6311 GB, free: 11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.4583, allocations: 1.8 MB / 0.6329 GB, free: 9.191 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.4618, allocations: 1.083 MB / 0.6339 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005737/0.4676, allocations: 3.906 MB / 0.6377 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.4696, allocations: 0.9167 MB / 0.6386 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.4727, allocations: 1.12 MB / 0.6397 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.4747, allocations: 0.8708 MB / 0.6406 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.475, allocations: 48 kB / 0.6406 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.4783, allocations: 1.333 MB / 0.6419 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004512/0.4788, allocations: 214.9 kB / 0.6421 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.4802, allocations: 0.6388 MB / 0.6428 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.4834, allocations: 1.703 MB / 0.6444 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4835, allocations: 3.984 kB / 0.6444 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4835, allocations: 0 / 0.6444 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.039e-05/0.4835, allocations: 4 kB / 0.6444 GB, free: 13.3 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003765/0.4873, allocations: 1.497 MB / 0.6459 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.4874, allocations: 15.97 kB / 0.6459 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.4903, allocations: 0.5105 MB / 0.6464 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.4931, allocations: 1.144 MB / 0.6475 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.4935, allocations: 129.9 kB / 0.6477 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.4938, allocations: 80 kB / 0.6477 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.4964, allocations: 1.033 MB / 0.6487 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4964, allocations: 0 / 0.6487 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.4965, allocations: 32 kB / 0.6488 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.4966, allocations: 24 kB / 0.6488 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.4994, allocations: 0.9993 MB / 0.6498 GB, free: 7.699 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.007389/0.5068, allocations: 4.708 MB / 0.6544 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.5114, allocations: 1.123 MB / 0.6555 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.5126, allocations: 449.9 kB / 0.6559 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.5137, allocations: 1.037 MB / 0.6569 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5137, allocations: 39 kB / 0.6569 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.306e-06/0.5138, allocations: 0 / 0.6569 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008701/0.5225, allocations: 2.147 MB / 0.659 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.5226, allocations: 63.78 kB / 0.6591 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.5243, allocations: 0.9435 MB / 0.66 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5244, allocations: 37.7 kB / 0.6601 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.5249, allocations: 0.5042 MB / 0.6605 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.5252, allocations: 189.2 kB / 0.6607 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5253, allocations: 49.69 kB / 0.6608 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5254, allocations: 334 kB / 0.6611 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.5266, allocations: 376.9 kB / 0.6615 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.5279, allocations: 0.5437 MB / 0.662 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.5302, allocations: 0.8205 MB / 0.6628 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5302, allocations: 0 / 0.6628 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003365/0.5336, allocations: 1.135 MB / 0.6639 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.5337, allocations: 164.4 kB / 0.664 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5337, allocations: 0 / 0.664 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.5352, allocations: 339.5 kB / 0.6644 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/0.5359, allocations: 143.8 kB / 0.6645 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.5376, allocations: 0.9308 MB / 0.6654 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.539, allocations: 183.2 kB / 0.6656 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5391, allocations: 27.98 kB / 0.6656 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.5391, allocations: 7.938 kB / 0.6656 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00307/0.5422, allocations: 1.001 MB / 0.6666 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5422, allocations: 3.984 kB / 0.6666 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.5435, allocations: 316.9 kB / 0.6669 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.5442, allocations: 143.8 kB / 0.667 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5458, allocations: 0.9453 MB / 0.668 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5471, allocations: 164.1 kB / 0.6681 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.5472, allocations: 27.98 kB / 0.6682 GB, free: 3.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006965/0.5479, allocations: 353.8 kB / 0.6685 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.5483, allocations: 110.6 kB / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.5518, allocations: 1.227 MB / 0.6698 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.5518, allocations: 4 kB / 0.6698 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5518, allocations: 0 / 0.6698 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5518, allocations: 7.984 kB / 0.6698 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.5571, allocations: 2.323 MB / 0.6721 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.5571, allocations: 4 kB / 0.6721 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.5577, allocations: 120 kB / 0.6722 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.5588, allocations: 318.6 kB / 0.6725 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.5589, allocations: 19.98 kB / 0.6725 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.5606, allocations: 0.9737 MB / 0.6735 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5606, allocations: 4.094 kB / 0.6735 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.5648, allocations: 1.405 MB / 0.6748 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/0.5655, allocations: 291.4 kB / 0.6751 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.5658, allocations: 12 kB / 0.6751 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5669, allocations: 131.7 kB / 0.6753 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.5671, allocations: 32.39 kB / 0.6753 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.5671, allocations: 23.98 kB / 0.6753 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001094/0.5682, allocations: 0.6637 MB / 0.676 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5682, allocations: 0 / 0.676 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001755/0.57, allocations: 0.573 MB / 0.6765 GB, free: 11.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009903/0.571, allocations: 381.6 kB / 0.6769 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004237/0.5752, allocations: 1.397 MB / 0.6783 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5753, allocations: 3.938 kB / 0.6783 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.5767, allocations: 488.8 kB / 0.6787 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.58, allocations: 0.4991 MB / 0.6792 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.5849, allocations: 2.411 MB / 0.6816 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.5857, allocations: 1.063 MB / 0.6826 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.5861, allocations: 91.34 kB / 0.6827 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/0.5861, allocations: 4 kB / 0.6827 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of Templates: time 0.03766/0.6238, allocations: 23.84 MB / 0.706 GB, free: 13.17 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)