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.001199/0.001199, allocations: 117.8 kB / 17.09 MB, free: 5.957 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.001203/0.001203, allocations: 197.8 kB / 18.02 MB, free: 5.047 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6826/0.6826, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 66.27 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05732/0.178, allocations: 61.16 MB / 0.6924 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.1931, allocations: 12 MB / 0.7042 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1949, allocations: 59.62 kB / 0.7042 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.1968, allocations: 0.6791 MB / 0.7049 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.202, allocations: 1.976 MB / 0.7068 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.2049, allocations: 1.205 MB / 0.708 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003949/0.2089, allocations: 3.088 MB / 0.711 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.2106, allocations: 1.124 MB / 0.7121 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.2136, allocations: 1.366 MB / 0.7134 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.2151, allocations: 0.9139 MB / 0.7143 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.2154, allocations: 120 kB / 0.7145 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.2185, allocations: 1.443 MB / 0.7159 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.2189, allocations: 310.8 kB / 0.7162 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2201, allocations: 0.7036 MB / 0.7168 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.224, allocations: 2.318 MB / 0.7191 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.224, allocations: 0 / 0.7191 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.224, allocations: 0 / 0.7191 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.561e-05/0.2241, allocations: 0 / 0.7191 GB, free: 11.64 MB / 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.003601/0.2277, allocations: 1.738 MB / 0.7208 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2277, allocations: 16.02 kB / 0.7208 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.2303, allocations: 454.8 kB / 0.7213 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.2327, allocations: 1.175 MB / 0.7224 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.2328, allocations: 62 kB / 0.7225 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.233, allocations: 80 kB / 0.7225 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.2352, allocations: 1.002 MB / 0.7235 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2352, allocations: 0 / 0.7235 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.2353, allocations: 36 kB / 0.7236 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2353, allocations: 16 kB / 0.7236 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.2377, allocations: 0.9407 MB / 0.7245 GB, free: 5.988 MB / 0.5606 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.006452/0.2442, allocations: 4.663 MB / 0.729 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.2482, allocations: 0.9974 MB / 0.73 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.2493, allocations: 413.8 kB / 0.7304 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009229/0.2502, allocations: 1.017 MB / 0.7314 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2502, allocations: 39 kB / 0.7314 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.574e-06/0.2503, allocations: 4 kB / 0.7314 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007486/0.2577, allocations: 1.901 MB / 0.7333 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2578, allocations: 63.78 kB / 0.7334 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.2592, allocations: 0.9436 MB / 0.7343 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/0.2593, allocations: 37.7 kB / 0.7343 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.2597, allocations: 0.5157 MB / 0.7348 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.2599, allocations: 177.4 kB / 0.735 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.2601, allocations: 130.1 kB / 0.7351 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2602, allocations: 326 kB / 0.7354 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2612, allocations: 350.9 kB / 0.7358 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.2624, allocations: 0.5087 MB / 0.7363 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.2644, allocations: 0.7502 MB / 0.737 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2644, allocations: 0 / 0.737 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00291/0.2673, allocations: 1.056 MB / 0.738 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2674, allocations: 5.562 kB / 0.738 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2674, allocations: 7.938 kB / 0.738 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.2686, allocations: 300.8 kB / 0.7383 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.2692, allocations: 131.8 kB / 0.7384 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2707, allocations: 0.8918 MB / 0.7393 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.2717, allocations: 131.3 kB / 0.7394 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.2718, allocations: 31.97 kB / 0.7395 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001326/0.2732, allocations: 0.5479 MB / 0.74 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001112/0.2743, allocations: 0.5054 MB / 0.7405 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001958/0.2762, allocations: 0.7539 MB / 0.7412 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.2763, allocations: 0 / 0.7412 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002936/0.2792, allocations: 1.045 MB / 0.7423 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2792, allocations: 8 kB / 0.7423 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2793, allocations: 4 kB / 0.7423 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.2803, allocations: 284.9 kB / 0.7425 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.281, allocations: 135.8 kB / 0.7427 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.2824, allocations: 0.8878 MB / 0.7435 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.2834, allocations: 111.6 kB / 0.7436 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.2835, allocations: 23.98 kB / 0.7437 GB, free: 1.402 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.0002382/0.2837, allocations: 226.4 kB / 0.7439 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.284, allocations: 106.7 kB / 0.744 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2881/0.5721, allocations: 1.146 MB / 0.7451 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.5722, allocations: 7.328 kB / 0.7451 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5722, allocations: 1.531 kB / 0.7451 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.5722, allocations: 2.812 kB / 0.7451 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/0.5778, allocations: 2.236 MB / 0.7473 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.5779, allocations: 3.328 kB / 0.7473 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.5784, allocations: 104.5 kB / 0.7474 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.5795, allocations: 287 kB / 0.7477 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.5795, allocations: 21.52 kB / 0.7477 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.5809, allocations: 0.9243 MB / 0.7486 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.581, allocations: 3.531 kB / 0.7486 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.5848, allocations: 1.292 MB / 0.7499 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.5853, allocations: 276 kB / 0.7501 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.5856, allocations: 12.83 kB / 0.7501 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009302/0.5865, allocations: 78.62 kB / 0.7502 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5866, allocations: 39.47 kB / 0.7502 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.5867, allocations: 25.45 kB / 0.7503 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001089/0.5878, allocations: 0.6734 MB / 0.7509 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5878, allocations: 0.875 kB / 0.7509 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001691/0.5895, allocations: 0.5738 MB / 0.7515 GB, free: 107.4 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.0008386/0.5903, allocations: 396.2 kB / 0.7519 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.594, allocations: 1.292 MB / 0.7531 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.594, allocations: 3.031 kB / 0.7531 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.5952, allocations: 454.1 kB / 0.7536 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5975, allocations: 497.7 kB / 0.754 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.6014, allocations: 1.926 MB / 0.7559 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.6022, allocations: 1.064 MB / 0.757 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.6026, allocations: 87.69 kB / 0.757 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.6026, allocations: 0 / 0.757 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02936/0.6319, allocations: 24.28 MB / 0.7808 GB, free: 89.54 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)