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.001019/0.001019, allocations: 101.8 kB / 16.4 MB, free: 6.488 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.001164/0.001164, allocations: 192 kB / 17.34 MB, free: 5.727 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7879/0.7879, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 61.5 kB / 0.5685 GB, free: 28.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2335, allocations: 77.94 MB / 0.6446 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.08393/0.3175, allocations: 61.17 MB / 0.7043 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3348, allocations: 11.99 MB / 0.716 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.3375, allocations: 59.62 kB / 0.7161 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.3404, allocations: 0.6791 MB / 0.7168 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/0.3476, allocations: 1.976 MB / 0.7187 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.3512, allocations: 1.207 MB / 0.7199 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005326/0.3566, allocations: 3.083 MB / 0.7229 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.3585, allocations: 1.124 MB / 0.724 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.3618, allocations: 1.339 MB / 0.7253 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.3636, allocations: 0.9179 MB / 0.7262 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.3639, allocations: 120 kB / 0.7263 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.3684, allocations: 1.443 MB / 0.7277 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007164/0.3691, allocations: 306.8 kB / 0.728 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.371, allocations: 0.6997 MB / 0.7287 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.3761, allocations: 2.332 MB / 0.731 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3761, allocations: 4 kB / 0.731 GB, free: 216 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3761, allocations: 0 / 0.731 GB, free: 216 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.64e-05/0.3762, allocations: 0 / 0.731 GB, free: 216 kB / 0.5606 GB 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.003795/0.38, allocations: 1.79 MB / 0.7327 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.38, allocations: 8.625 kB / 0.7327 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.3826, allocations: 467.5 kB / 0.7332 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.385, allocations: 1.192 MB / 0.7343 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.385, allocations: 62 kB / 0.7344 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3852, allocations: 83.98 kB / 0.7345 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3873, allocations: 1.002 MB / 0.7354 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3873, allocations: 3.938 kB / 0.7355 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.3874, allocations: 32 kB / 0.7355 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3874, allocations: 16 kB / 0.7355 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.3899, allocations: 0.929 MB / 0.7364 GB, free: 10.49 MB / 0.5762 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.00699/0.3969, allocations: 4.688 MB / 0.741 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.4009, allocations: 0.9918 MB / 0.7419 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.4022, allocations: 405.9 kB / 0.7423 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.4032, allocations: 1.013 MB / 0.7433 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4033, allocations: 35 kB / 0.7434 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/0.4033, allocations: 0 / 0.7434 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007622/0.4109, allocations: 1.921 MB / 0.7452 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.411, allocations: 59.78 kB / 0.7453 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3741/0.7851, allocations: 0.9438 MB / 0.7462 GB, free: 99.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.7853, allocations: 37.75 kB / 0.7462 GB, free: 99.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.7858, allocations: 0.5137 MB / 0.7468 GB, free: 99.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.7859, allocations: 192.7 kB / 0.7469 GB, free: 99.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.7862, allocations: 130.3 kB / 0.7471 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.7863, allocations: 326.3 kB / 0.7474 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.7875, allocations: 354.6 kB / 0.7477 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.7887, allocations: 0.5048 MB / 0.7482 GB, free: 98.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.7908, allocations: 0.752 MB / 0.7489 GB, free: 98.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7908, allocations: 2.734 kB / 0.7489 GB, free: 98.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003238/0.7941, allocations: 1.062 MB / 0.75 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.7941, allocations: 6.094 kB / 0.75 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.7941, allocations: 6.312 kB / 0.75 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.7955, allocations: 302.1 kB / 0.7503 GB, free: 97.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.7963, allocations: 134 kB / 0.7504 GB, free: 97.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.7976, allocations: 0.8929 MB / 0.7513 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.7988, allocations: 123.5 kB / 0.7514 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.7989, allocations: 28.53 kB / 0.7514 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001724/0.8006, allocations: 0.5538 MB / 0.752 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001257/0.8019, allocations: 0.4985 MB / 0.7524 GB, free: 96.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00213/0.804, allocations: 0.7439 MB / 0.7532 GB, free: 96.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.804, allocations: 3.562 kB / 0.7532 GB, free: 96.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003386/0.8074, allocations: 1.051 MB / 0.7542 GB, free: 95.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8075, allocations: 5.969 kB / 0.7542 GB, free: 95.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.8075, allocations: 2.656 kB / 0.7542 GB, free: 95.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.8088, allocations: 295.5 kB / 0.7545 GB, free: 95.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.8095, allocations: 128.4 kB / 0.7546 GB, free: 95.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.8109, allocations: 0.8988 MB / 0.7555 GB, free: 95.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.812, allocations: 118.7 kB / 0.7556 GB, free: 95.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.8121, allocations: 26.72 kB / 0.7556 GB, free: 95.23 MB / 0.5762 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.000293/0.8124, allocations: 219.3 kB / 0.7558 GB, free: 95.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.8126, allocations: 115.5 kB / 0.756 GB, free: 94.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.8159, allocations: 1.138 MB / 0.7571 GB, free: 94.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8159, allocations: 7 kB / 0.7571 GB, free: 94.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8159, allocations: 1.641 kB / 0.7571 GB, free: 94.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8159, allocations: 2.484 kB / 0.7571 GB, free: 94.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.8206, allocations: 2.24 MB / 0.7593 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.8206, allocations: 5.188 kB / 0.7593 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.8212, allocations: 112.5 kB / 0.7594 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.8223, allocations: 289.7 kB / 0.7597 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.8224, allocations: 18.02 kB / 0.7597 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.8238, allocations: 0.9218 MB / 0.7606 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.8238, allocations: 6.828 kB / 0.7606 GB, free: 92.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.8278, allocations: 1.295 MB / 0.7618 GB, free: 92.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.8284, allocations: 280.4 kB / 0.7621 GB, free: 92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.8285, allocations: 20.72 kB / 0.7621 GB, free: 91.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/0.8294, allocations: 74.88 kB / 0.7622 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.8295, allocations: 47.03 kB / 0.7622 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.8296, allocations: 25.77 kB / 0.7623 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001263/0.8308, allocations: 0.6697 MB / 0.7629 GB, free: 91.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8308, allocations: 3.594 kB / 0.7629 GB, free: 91.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001839/0.8327, allocations: 0.5758 MB / 0.7635 GB, free: 91.6 MB / 0.5762 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.00085/0.8336, allocations: 384 kB / 0.7639 GB, free: 91.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004007/0.8376, allocations: 1.3 MB / 0.7651 GB, free: 91.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8376, allocations: 0 / 0.7651 GB, free: 91.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.8389, allocations: 465.6 kB / 0.7656 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.841, allocations: 0.4912 MB / 0.766 GB, free: 90.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.8445, allocations: 1.912 MB / 0.7679 GB, free: 89.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.845, allocations: 1.068 MB / 0.769 GB, free: 89.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009116/0.8459, allocations: 230.1 kB / 0.7692 GB, free: 89.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.8461, allocations: 81.67 kB / 0.7693 GB, free: 89.02 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.8462, allocations: 0 / 0.7693 GB, free: 89.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.03209/0.8782, allocations: 24.82 MB / 0.7935 GB, free: 68.69 MB / 0.5762 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)