Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.2 kB / 16.4 MB, free: 6.438 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.001122/0.001122, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.27/1.27, allocations: 222.9 MB / 241 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.6677/0.6677, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.19 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05954/0.183, allocations: 61.13 MB / 0.6913 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.1985, allocations: 12 MB / 0.703 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.2003, allocations: 59.62 kB / 0.703 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.2022, allocations: 0.6752 MB / 0.7037 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.207, allocations: 1.967 MB / 0.7056 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.2101, allocations: 1.206 MB / 0.7068 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.2141, allocations: 3.087 MB / 0.7098 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.2159, allocations: 1.091 MB / 0.7109 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.2193, allocations: 1.358 MB / 0.7122 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.2213, allocations: 0.8944 MB / 0.7131 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.2218, allocations: 120 kB / 0.7132 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.2249, allocations: 1.447 MB / 0.7146 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.2255, allocations: 286.9 kB / 0.7149 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.2269, allocations: 0.6958 MB / 0.7156 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2315, allocations: 2.295 MB / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2316, allocations: 0 / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.716e-06/0.2316, allocations: 0 / 0.7178 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.221e-05/0.2317, allocations: 0 / 0.7178 GB, free: 12.31 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004016/0.2357, allocations: 1.723 MB / 0.7195 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2357, allocations: 8.031 kB / 0.7195 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.2359, allocations: 130.9 kB / 0.7196 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.2382, allocations: 402.8 kB / 0.72 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.2409, allocations: 1.159 MB / 0.7211 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.241, allocations: 70 kB / 0.7212 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.2412, allocations: 80 kB / 0.7213 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.2433, allocations: 0.9975 MB / 0.7222 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2433, allocations: 3.938 kB / 0.7223 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.2434, allocations: 32 kB / 0.7223 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2434, allocations: 20 kB / 0.7223 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.2456, allocations: 0.8508 MB / 0.7231 GB, free: 6.664 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.006749/0.2524, allocations: 5.226 MB / 0.7282 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.2556, allocations: 0.7841 MB / 0.729 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.2564, allocations: 297.7 kB / 0.7293 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.257, allocations: 0.9024 MB / 0.7302 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.257, allocations: 46.48 kB / 0.7302 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.257, allocations: 4 kB / 0.7302 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006644/0.2637, allocations: 1.696 MB / 0.7319 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2638, allocations: 63.41 kB / 0.7319 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.2654, allocations: 1.072 MB / 0.733 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.2655, allocations: 37.7 kB / 0.733 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.2659, allocations: 0.5311 MB / 0.7335 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.266, allocations: 149.8 kB / 0.7337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.2662, allocations: 138.1 kB / 0.7338 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.2663, allocations: 329.9 kB / 0.7341 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/0.2671, allocations: 315.2 kB / 0.7344 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/0.2681, allocations: 0.5213 MB / 0.7349 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.2697, allocations: 0.7097 MB / 0.7356 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2697, allocations: 0 / 0.7356 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002532/0.2722, allocations: 1 MB / 0.7366 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2723, allocations: 8 kB / 0.7366 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2723, allocations: 15.92 kB / 0.7366 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.2735, allocations: 320.5 kB / 0.7369 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.2741, allocations: 123.8 kB / 0.737 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.2754, allocations: 0.892 MB / 0.7379 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2767, allocations: 159.1 kB / 0.7381 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.2768, allocations: 31.98 kB / 0.7381 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001148/0.2779, allocations: 0.509 MB / 0.7386 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009717/0.2789, allocations: 0.5174 MB / 0.7391 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001557/0.2805, allocations: 0.7061 MB / 0.7398 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.623e-06/0.2805, allocations: 4 kB / 0.7398 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002639/0.2832, allocations: 1 MB / 0.7408 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2832, allocations: 13.66 kB / 0.7408 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2832, allocations: 4 kB / 0.7408 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.2843, allocations: 298.4 kB / 0.7411 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.2849, allocations: 127.8 kB / 0.7412 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.2863, allocations: 0.8995 MB / 0.7421 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.2877, allocations: 131.6 kB / 0.7422 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2878, allocations: 31.98 kB / 0.7422 GB, free: 1.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002536/0.2881, allocations: 227.6 kB / 0.7424 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.2884, allocations: 114.6 kB / 0.7426 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.2907, allocations: 0.9106 MB / 0.7434 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.2908, allocations: 11.98 kB / 0.7435 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2908, allocations: 0 / 0.7435 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2908, allocations: 3.938 kB / 0.7435 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.275/0.5658, allocations: 2.136 MB / 0.7455 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.5659, allocations: 2.125 kB / 0.7456 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.5662, allocations: 66.17 kB / 0.7456 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.5673, allocations: 291.9 kB / 0.7459 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.5674, allocations: 13.95 kB / 0.7459 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.569, allocations: 0.9245 MB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.569, allocations: 8.875 kB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/0.5729, allocations: 1.14 MB / 0.7479 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.5735, allocations: 260.3 kB / 0.7482 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.5739, allocations: 17.11 kB / 0.7482 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5749, allocations: 73.28 kB / 0.7483 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.575, allocations: 43.98 kB / 0.7483 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.5751, allocations: 22.2 kB / 0.7483 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001499/0.5766, allocations: 0.7525 MB / 0.7491 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5766, allocations: 0.7812 kB / 0.7491 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00213/0.5788, allocations: 0.5641 MB / 0.7496 GB, free: 107.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004458/0.5833, allocations: 1.972 MB / 0.7515 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.5861, allocations: 1.119 MB / 0.7526 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5861, allocations: 0 / 0.7526 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007926/0.5869, allocations: 343.6 kB / 0.753 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.5891, allocations: 0.5133 MB / 0.7535 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.6067, allocations: 8.403 MB / 0.7617 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.6073, allocations: 1.065 MB / 0.7627 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008973/0.6082, allocations: 230.5 kB / 0.7629 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.6086, allocations: 411 kB / 0.7633 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6087, allocations: 0 / 0.7633 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.661, allocations: 34.16 MB / 0.7967 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.64, allocations: 19.34 kB / 0.7967 GB, free: 71.8 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)