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.001428/0.001428, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 200.8 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7432/0.7432, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.56 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 77.93 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4284/0.5965, allocations: 60.81 MB / 0.6259 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.6181, allocations: 12.06 MB / 0.6377 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.6219, allocations: 53.16 kB / 0.6377 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.625, allocations: 0.555 MB / 0.6383 GB, free: 9.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007423/0.6324, allocations: 1.804 MB / 0.64 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.637, allocations: 1.079 MB / 0.6411 GB, free: 7.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.6435, allocations: 3.901 MB / 0.6449 GB, free: 5.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.6461, allocations: 0.943 MB / 0.6458 GB, free: 4.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.6501, allocations: 1.154 MB / 0.6469 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.6525, allocations: 0.911 MB / 0.6478 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.6529, allocations: 58 kB / 0.6479 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.6565, allocations: 1.354 MB / 0.6492 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.6569, allocations: 245.1 kB / 0.6494 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.6584, allocations: 0.6457 MB / 0.6501 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004501/0.6629, allocations: 2.258 MB / 0.6523 GB, free: 488 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6629, allocations: 0 / 0.6523 GB, free: 488 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.663, allocations: 3.938 kB / 0.6523 GB, free: 484 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.343e-05/0.663, allocations: 0 / 0.6523 GB, free: 484 kB / 478.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.004123/0.6672, allocations: 1.734 MB / 0.654 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6672, allocations: 8.031 kB / 0.654 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.67, allocations: 462.7 kB / 0.6544 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.6725, allocations: 1.136 MB / 0.6555 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/0.6729, allocations: 121.9 kB / 0.6556 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.673, allocations: 80 kB / 0.6557 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.6755, allocations: 1.002 MB / 0.6567 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6756, allocations: 4 kB / 0.6567 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6757, allocations: 32 kB / 0.6567 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.6757, allocations: 23.94 kB / 0.6568 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.6785, allocations: 0.9407 MB / 0.6577 GB, free: 10.79 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.007596/0.6862, allocations: 4.68 MB / 0.6622 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/0.6905, allocations: 0.9972 MB / 0.6632 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.6917, allocations: 419.9 kB / 0.6636 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.6927, allocations: 1.017 MB / 0.6646 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6928, allocations: 39 kB / 0.6647 GB, free: 3.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.6928, allocations: 0 / 0.6647 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=53): time 0.008054/0.7009, allocations: 1.943 MB / 0.6665 GB, free: 1.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7009, allocations: 59.78 kB / 0.6666 GB, free: 1.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7026, allocations: 0.9435 MB / 0.6675 GB, free: 60 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.7027, allocations: 37.7 kB / 0.6676 GB, free: 16 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.7032, allocations: 0.5041 MB / 0.6681 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.7035, allocations: 193.3 kB / 0.6682 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.7037, allocations: 122.1 kB / 0.6684 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7039, allocations: 334 kB / 0.6687 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.705, allocations: 350.9 kB / 0.669 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.7062, allocations: 0.5243 MB / 0.6695 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.7084, allocations: 0.758 MB / 0.6703 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.7084, allocations: 0 / 0.6703 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003229/0.7116, allocations: 1.068 MB / 0.6713 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.7117, allocations: 4 kB / 0.6713 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.7117, allocations: 7.938 kB / 0.6713 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.7131, allocations: 309.7 kB / 0.6716 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.7138, allocations: 135.8 kB / 0.6717 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.7155, allocations: 0.9137 MB / 0.6726 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.717, allocations: 155.3 kB / 0.6728 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7171, allocations: 27.98 kB / 0.6728 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001493/0.7186, allocations: 0.5596 MB / 0.6734 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001194/0.7198, allocations: 0.5069 MB / 0.6738 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002091/0.7219, allocations: 0.7502 MB / 0.6746 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.7219, allocations: 1.953 kB / 0.6746 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003185/0.7251, allocations: 1.061 MB / 0.6756 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7252, allocations: 11.94 kB / 0.6756 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7252, allocations: 4 kB / 0.6756 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.7264, allocations: 300.9 kB / 0.6759 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.7271, allocations: 131.8 kB / 0.676 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.7286, allocations: 0.9082 MB / 0.6769 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.73, allocations: 147.5 kB / 0.6771 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.7301, allocations: 31.98 kB / 0.6771 GB, free: 5.965 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.0002582/0.7304, allocations: 212.1 kB / 0.6773 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.7307, allocations: 106.7 kB / 0.6774 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.7341, allocations: 1.163 MB / 0.6785 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.7341, allocations: 4 kB / 0.6785 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7341, allocations: 0 / 0.6785 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.7342, allocations: 3.984 kB / 0.6786 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.7393, allocations: 2.264 MB / 0.6808 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.7393, allocations: 0 / 0.6808 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.7399, allocations: 103.8 kB / 0.6809 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.741, allocations: 304.7 kB / 0.6812 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.7411, allocations: 19.98 kB / 0.6812 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.7426, allocations: 0.9412 MB / 0.6821 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7426, allocations: 0 / 0.6821 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.7466, allocations: 1.316 MB / 0.6834 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/0.7472, allocations: 275.5 kB / 0.6836 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.7475, allocations: 12 kB / 0.6837 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7487, allocations: 115.8 kB / 0.6838 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7488, allocations: 36.39 kB / 0.6838 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.7489, allocations: 31.91 kB / 0.6838 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001105/0.75, allocations: 0.6637 MB / 0.6845 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/0.75, allocations: 3.938 kB / 0.6845 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002049/0.752, allocations: 0.5691 MB / 0.685 GB, free: 13.64 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.001057/0.7531, allocations: 382.5 kB / 0.6854 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004279/0.7574, allocations: 1.303 MB / 0.6867 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7574, allocations: 0 / 0.6867 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.7588, allocations: 468.8 kB / 0.6871 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.7619, allocations: 0.4942 MB / 0.6876 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.7668, allocations: 2.315 MB / 0.6899 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.7677, allocations: 1.07 MB / 0.6909 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001468/0.7692, allocations: 224.5 kB / 0.6911 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.7695, allocations: 91.34 kB / 0.6912 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.7695, allocations: 0 / 0.6912 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.04298/0.8125, allocations: 23.73 MB / 0.7144 GB, free: 15.81 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)