Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7473/0.7473, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001146, allocations: 187.5 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 103.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 60.95 kB / 0.558 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1376, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04887/0.1865, allocations: 65.75 MB / 0.6959 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.202, allocations: 12 MB / 0.7076 GB, free: 3.035 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.2042, allocations: 51.69 kB / 0.7077 GB, free: 2.984 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.2063, allocations: 0.5789 MB / 0.7082 GB, free: 2.402 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.2115, allocations: 1.87 MB / 0.71 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.2152, allocations: 1.05 MB / 0.7111 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.005346/0.2206, allocations: 4.115 MB / 0.7151 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.2222, allocations: 0.9431 MB / 0.716 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.225, allocations: 1.268 MB / 0.7173 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2268, allocations: 0.9684 MB / 0.7182 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.227, allocations: 60 kB / 0.7183 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.2298, allocations: 1.22 MB / 0.7194 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.2302, allocations: 246.8 kB / 0.7197 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.2314, allocations: 0.6606 MB / 0.7203 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.236, allocations: 2.353 MB / 0.7226 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.236, allocations: 3.984 kB / 0.7226 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2361, allocations: 4 kB / 0.7226 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001139/0.2362, allocations: 0 / 0.7226 GB, free: 3.578 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005453/0.2416, allocations: 1.765 MB / 0.7244 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2417, allocations: 8.031 kB / 0.7244 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.2441, allocations: 414.8 kB / 0.7248 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.2466, allocations: 1.151 MB / 0.7259 GB, free: 132 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.2469, allocations: 121.9 kB / 0.726 GB, free: 8 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.2471, allocations: 92.02 kB / 0.7261 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.2498, allocations: 1.119 MB / 0.7272 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2498, allocations: 3.938 kB / 0.7272 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.2499, allocations: 36 kB / 0.7272 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.25, allocations: 24 kB / 0.7272 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.2528, allocations: 0.9678 MB / 0.7282 GB, free: 13.7 MB / 0.5105 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.007252/0.2601, allocations: 5.305 MB / 0.7334 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.2639, allocations: 0.8393 MB / 0.7342 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.2646, allocations: 272.9 kB / 0.7344 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.265, allocations: 0.5779 MB / 0.735 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2651, allocations: 46.5 kB / 0.7351 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.564e-06/0.2651, allocations: 0 / 0.7351 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.007565/0.2727, allocations: 1.719 MB / 0.7367 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2727, allocations: 55.41 kB / 0.7368 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2748, allocations: 1.129 MB / 0.7379 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.2749, allocations: 37.64 kB / 0.7379 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.2754, allocations: 0.5815 MB / 0.7385 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.2756, allocations: 138 kB / 0.7386 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.2758, allocations: 138.2 kB / 0.7388 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.276, allocations: 341.9 kB / 0.7391 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.2771, allocations: 323.2 kB / 0.7394 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.2783, allocations: 0.5923 MB / 0.74 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.2802, allocations: 0.7747 MB / 0.7407 GB, free: 88 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2802, allocations: 4 kB / 0.7407 GB, free: 84 kB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.2837/0.5639, allocations: 1.096 MB / 0.7418 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.564, allocations: 8.281 kB / 0.7418 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.564, allocations: 5.719 kB / 0.7418 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.5652, allocations: 329.3 kB / 0.7421 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.5658, allocations: 141.2 kB / 0.7423 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.5673, allocations: 0.949 MB / 0.7432 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5687, allocations: 188.9 kB / 0.7434 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.5688, allocations: 34 kB / 0.7434 GB, free: 106 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001218/0.57, allocations: 0.5246 MB / 0.7439 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/0.5711, allocations: 0.567 MB / 0.7445 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/0.5727, allocations: 0.733 MB / 0.7452 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.5727, allocations: 0 / 0.7452 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.002699/0.5754, allocations: 1.059 MB / 0.7462 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5754, allocations: 7.625 kB / 0.7462 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.5754, allocations: 6.375 kB / 0.7462 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.5765, allocations: 311.5 kB / 0.7465 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.5771, allocations: 137.6 kB / 0.7467 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.5784, allocations: 0.9199 MB / 0.7476 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5797, allocations: 162.2 kB / 0.7477 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.5798, allocations: 34.36 kB / 0.7477 GB, free: 104.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 62 * 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.0002261/0.58, allocations: 214.6 kB / 0.748 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.5802, allocations: 121 kB / 0.7481 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.5827, allocations: 0.9191 MB / 0.749 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5827, allocations: 6.438 kB / 0.749 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5828, allocations: 0 / 0.749 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5828, allocations: 2.25 kB / 0.749 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.5878, allocations: 2.025 MB / 0.7509 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.5878, allocations: 6.938 kB / 0.751 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.5882, allocations: 68.86 kB / 0.751 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.5893, allocations: 329.4 kB / 0.7513 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.5894, allocations: 16.16 kB / 0.7514 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.5912, allocations: 1.007 MB / 0.7523 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5912, allocations: 2.141 kB / 0.7523 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/0.5975, allocations: 2.387 MB / 0.7547 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007217/0.5983, allocations: 257.5 kB / 0.7549 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/0.5987, allocations: 8.516 kB / 0.7549 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.5999, allocations: 108.2 kB / 0.755 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6, allocations: 37.09 kB / 0.7551 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.6001, allocations: 22.78 kB / 0.7551 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001652/0.6017, allocations: 0.7789 MB / 0.7558 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6018, allocations: 0 / 0.7558 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002182/0.6039, allocations: 0.5674 MB / 0.7564 GB, free: 102.2 MB / 0.5105 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008152/0.6048, allocations: 324.9 kB / 0.7567 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.6084, allocations: 1.178 MB / 0.7579 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6084, allocations: 1.188 kB / 0.7579 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.6097, allocations: 374 kB / 0.7582 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.6126, allocations: 0.5541 MB / 0.7588 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.6182, allocations: 2.739 MB / 0.7614 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6187, allocations: 1.075 MB / 0.7625 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001185/0.6199, allocations: 229.4 kB / 0.7627 GB, free: 99.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.6202, allocations: 79.61 kB / 0.7628 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/0.6202, allocations: 4 kB / 0.7628 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.03488/0.6551, allocations: 25.68 MB / 0.7879 GB, free: 77.63 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)