Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7234/0.7234, allocations: 128.7 MB / 144.5 MB, free: 1.34 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.001109/0.001109, allocations: 192.8 kB / 174.2 MB, free: 5.93 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.342/1.342, allocations: 205.1 MB / 408.9 MB, free: 9.734 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.0009702/0.0009703, allocations: 98.84 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001088, allocations: 55.55 kB / 0.558 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1345, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05703/0.1915, allocations: 65.76 MB / 0.6959 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.2083, allocations: 12.01 MB / 0.7076 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.2103, allocations: 55.69 kB / 0.7077 GB, free: 2.961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.2126, allocations: 0.5789 MB / 0.7082 GB, free: 2.379 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.2178, allocations: 1.867 MB / 0.7101 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.2206, allocations: 1.058 MB / 0.7111 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004686/0.2253, allocations: 4.111 MB / 0.7151 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.2273, allocations: 0.9431 MB / 0.716 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.2302, allocations: 1.276 MB / 0.7173 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.232, allocations: 0.9645 MB / 0.7182 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.2323, allocations: 67.94 kB / 0.7183 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.235, allocations: 1.216 MB / 0.7195 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.2353, allocations: 234.9 kB / 0.7197 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2365, allocations: 0.6684 MB / 0.7203 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.24, allocations: 2.345 MB / 0.7226 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.24, allocations: 0 / 0.7226 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.517e-06/0.24, allocations: 0 / 0.7226 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.395e-05/0.2401, allocations: 7.938 kB / 0.7226 GB, free: 3.566 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.003886/0.244, allocations: 1.754 MB / 0.7244 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.244, allocations: 12.03 kB / 0.7244 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.2463, allocations: 414.8 kB / 0.7248 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.2486, allocations: 1.151 MB / 0.7259 GB, free: 140 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.249, allocations: 125.9 kB / 0.726 GB, free: 16 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.2491, allocations: 84.05 kB / 0.7261 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.2518, allocations: 1.132 MB / 0.7272 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2518, allocations: 0 / 0.7272 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.2519, allocations: 35.98 kB / 0.7272 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.2519, allocations: 27.98 kB / 0.7273 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.2549, allocations: 0.9718 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.007021/0.2619, allocations: 5.31 MB / 0.7334 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.2657, allocations: 0.8392 MB / 0.7342 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.2664, allocations: 272.9 kB / 0.7345 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.2668, allocations: 0.5818 MB / 0.735 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2669, allocations: 38.56 kB / 0.7351 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.2669, allocations: 0 / 0.7351 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.008724/0.2756, allocations: 1.887 MB / 0.7369 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2757, allocations: 59.41 kB / 0.737 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2773, allocations: 1.117 MB / 0.7381 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.2774, allocations: 37.7 kB / 0.7381 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.2778, allocations: 0.5933 MB / 0.7387 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.278, allocations: 142 kB / 0.7388 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.2782, allocations: 142.1 kB / 0.7389 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2783, allocations: 330 kB / 0.7393 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2794, allocations: 339.2 kB / 0.7396 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2806, allocations: 0.5822 MB / 0.7402 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2434/0.524, allocations: 0.7769 MB / 0.7409 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.5241, allocations: 2.375 kB / 0.7409 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.005124/0.5292, allocations: 1.308 MB / 0.7422 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5292, allocations: 7.781 kB / 0.7422 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5293, allocations: 5.938 kB / 0.7422 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.5305, allocations: 327.5 kB / 0.7425 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.5311, allocations: 140.1 kB / 0.7427 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.5326, allocations: 0.9536 MB / 0.7436 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.534, allocations: 192.8 kB / 0.7438 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.534, allocations: 33.41 kB / 0.7438 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.5353, allocations: 0.5329 MB / 0.7443 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009552/0.5362, allocations: 0.5704 MB / 0.7449 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001619/0.5379, allocations: 0.7387 MB / 0.7456 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.5379, allocations: 6 kB / 0.7456 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.003488/0.5414, allocations: 1.187 MB / 0.7468 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5414, allocations: 14.53 kB / 0.7468 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5414, allocations: 5.875 kB / 0.7468 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.5425, allocations: 305.3 kB / 0.7471 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.543, allocations: 140.7 kB / 0.7472 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.5443, allocations: 0.9122 MB / 0.7481 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5456, allocations: 163.2 kB / 0.7483 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.5457, allocations: 30.23 kB / 0.7483 GB, free: 104.6 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.000232/0.546, allocations: 229.1 kB / 0.7485 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5462, allocations: 113.3 kB / 0.7486 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/0.5505, allocations: 1.064 MB / 0.7496 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5505, allocations: 5.969 kB / 0.7497 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5505, allocations: 5.062 kB / 0.7497 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5505, allocations: 5.578 kB / 0.7497 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/0.557, allocations: 2.05 MB / 0.7517 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5571, allocations: 2.125 kB / 0.7517 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.5574, allocations: 65.81 kB / 0.7517 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.5585, allocations: 333 kB / 0.752 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.5586, allocations: 15.8 kB / 0.7521 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.5601, allocations: 0.9657 MB / 0.753 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5601, allocations: 3.938 kB / 0.753 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/0.5653, allocations: 2.259 MB / 0.7552 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.5658, allocations: 259.7 kB / 0.7555 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.5661, allocations: 9.875 kB / 0.7555 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.5671, allocations: 107.6 kB / 0.7556 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.5673, allocations: 33.05 kB / 0.7556 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.5673, allocations: 22.56 kB / 0.7556 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00142/0.5688, allocations: 0.7793 MB / 0.7564 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/0.5688, allocations: 0 / 0.7564 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002058/0.5708, allocations: 0.5712 MB / 0.7569 GB, free: 102.1 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007182/0.5716, allocations: 322.7 kB / 0.7573 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.5751, allocations: 1.18 MB / 0.7584 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.5751, allocations: 3.938 kB / 0.7584 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.5761, allocations: 338.9 kB / 0.7587 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.579, allocations: 0.5477 MB / 0.7593 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.5849, allocations: 2.719 MB / 0.7619 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.5856, allocations: 1.076 MB / 0.763 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001343/0.587, allocations: 237.9 kB / 0.7632 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.5873, allocations: 80.92 kB / 0.7633 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.5873, allocations: 0 / 0.7633 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.0353/0.6226, allocations: 25.88 MB / 0.7886 GB, free: 76.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)