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.001227/0.001227, allocations: 97.67 kB / 16.26 MB, free: 5.934 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.001147/0.001147, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8588/0.8588, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 77.92 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05063/0.422, allocations: 61.17 MB / 0.6269 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.4392, allocations: 11.99 MB / 0.6386 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.442, allocations: 59.62 kB / 0.6387 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.4441, allocations: 0.6947 MB / 0.6394 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005484/0.4496, allocations: 1.957 MB / 0.6413 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.4528, allocations: 1.203 MB / 0.6425 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005041/0.4579, allocations: 3.079 MB / 0.6455 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.46, allocations: 1.122 MB / 0.6466 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.4633, allocations: 1.323 MB / 0.6479 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.4648, allocations: 0.9179 MB / 0.6487 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.465, allocations: 120 kB / 0.6489 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.468, allocations: 1.443 MB / 0.6503 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.4683, allocations: 298.8 kB / 0.6506 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.4691, allocations: 0.7036 MB / 0.6512 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.4726, allocations: 2.298 MB / 0.6535 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4726, allocations: 8 kB / 0.6535 GB, free: 2.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4726, allocations: 0 / 0.6535 GB, free: 2.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.4726, allocations: 0 / 0.6535 GB, free: 2.184 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.002965/0.4756, allocations: 1.734 MB / 0.6552 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4757, allocations: 12.62 kB / 0.6552 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.4781, allocations: 455 kB / 0.6556 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.4799, allocations: 1.121 MB / 0.6567 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.4803, allocations: 121.9 kB / 0.6568 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4804, allocations: 87.94 kB / 0.6569 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.4824, allocations: 0.9979 MB / 0.6579 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4824, allocations: 3.938 kB / 0.6579 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.4825, allocations: 36 kB / 0.6579 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.4825, allocations: 20 kB / 0.658 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.485, allocations: 0.9329 MB / 0.6589 GB, free: 12.53 MB / 0.4981 GB 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.005559/0.4905, allocations: 4.716 MB / 0.6635 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.4946, allocations: 1 MB / 0.6645 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4957, allocations: 409.9 kB / 0.6648 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/0.4966, allocations: 1.025 MB / 0.6658 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4967, allocations: 35 kB / 0.6659 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.4967, allocations: 3.938 kB / 0.6659 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007507/0.5042, allocations: 1.951 MB / 0.6678 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5042, allocations: 63.78 kB / 0.6679 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5054, allocations: 0.9474 MB / 0.6688 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.5054, allocations: 37.7 kB / 0.6688 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.5058, allocations: 0.5079 MB / 0.6693 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.506, allocations: 185.3 kB / 0.6695 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.5062, allocations: 126.1 kB / 0.6696 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5063, allocations: 334 kB / 0.6699 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.5073, allocations: 354.9 kB / 0.6703 GB, free: 204 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5085, allocations: 0.5085 MB / 0.6708 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.5105, allocations: 0.7657 MB / 0.6715 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5105, allocations: 4 kB / 0.6715 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002856/0.5134, allocations: 1.065 MB / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5134, allocations: 15.92 kB / 0.6726 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5134, allocations: 3.938 kB / 0.6726 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.5147, allocations: 315.1 kB / 0.6729 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.5153, allocations: 131.8 kB / 0.673 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.5168, allocations: 0.9034 MB / 0.6739 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.5177, allocations: 131.4 kB / 0.674 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.5178, allocations: 31.98 kB / 0.674 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001306/0.5191, allocations: 0.5556 MB / 0.6746 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/0.5203, allocations: 0.5069 MB / 0.6751 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001981/0.5223, allocations: 0.7502 MB / 0.6758 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.097e-06/0.5223, allocations: 3.938 kB / 0.6758 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002805/0.5251, allocations: 1.057 MB / 0.6768 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.5251, allocations: 10.5 kB / 0.6768 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5251, allocations: 4 kB / 0.6769 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5262, allocations: 295.1 kB / 0.6771 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5268, allocations: 139.8 kB / 0.6773 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.5283, allocations: 0.9112 MB / 0.6782 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.5293, allocations: 103.7 kB / 0.6783 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.5294, allocations: 39.97 kB / 0.6783 GB, free: 7.707 MB / 0.5137 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.0002503/0.5296, allocations: 212.8 kB / 0.6785 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5298, allocations: 110.6 kB / 0.6786 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.533, allocations: 1.157 MB / 0.6797 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5331, allocations: 11.98 kB / 0.6797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5331, allocations: 0 / 0.6797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.5331, allocations: 3.984 kB / 0.6797 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.5375, allocations: 2.256 MB / 0.682 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5376, allocations: 8.125 kB / 0.682 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.5381, allocations: 99.84 kB / 0.6821 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.5392, allocations: 300.6 kB / 0.6823 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.5392, allocations: 15.98 kB / 0.6824 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.5407, allocations: 0.9464 MB / 0.6833 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5407, allocations: 4.031 kB / 0.6833 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.5444, allocations: 1.316 MB / 0.6846 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.545, allocations: 279.4 kB / 0.6848 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5451, allocations: 19.98 kB / 0.6849 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/0.546, allocations: 79.91 kB / 0.6849 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.5461, allocations: 36.33 kB / 0.685 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.5462, allocations: 27.98 kB / 0.685 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008753/0.547, allocations: 0.6754 MB / 0.6857 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.547, allocations: 0 / 0.6857 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001399/0.5485, allocations: 0.5692 MB / 0.6862 GB, free: 15.42 MB / 0.5294 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.0007216/0.5492, allocations: 391.1 kB / 0.6866 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004059/0.5533, allocations: 1.342 MB / 0.6879 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5533, allocations: 0 / 0.6879 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.5546, allocations: 468.8 kB / 0.6883 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.5569, allocations: 488.5 kB / 0.6888 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.5608, allocations: 1.911 MB / 0.6907 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.5614, allocations: 1.07 MB / 0.6917 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001086/0.5625, allocations: 243.5 kB / 0.6919 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.5628, allocations: 83.41 kB / 0.692 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.5628, allocations: 0 / 0.692 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.03986/0.6026, allocations: 24.69 MB / 0.7161 GB, free: 1.02 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)