Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.187/2.187, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 197.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 111.3 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 52.53 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2278, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04055/0.2684, allocations: 60.86 MB / 1.278 GB, free: 56.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2807, allocations: 12.05 MB / 1.289 GB, free: 44.09 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2826, allocations: 55.62 kB / 1.289 GB, free: 44.04 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.284, allocations: 0.5516 MB / 1.29 GB, free: 43.48 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.2878, allocations: 1.804 MB / 1.292 GB, free: 41.67 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2901, allocations: 1.079 MB / 1.293 GB, free: 40.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.2932, allocations: 3.925 MB / 1.297 GB, free: 36.66 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.2942, allocations: 0.9295 MB / 1.297 GB, free: 35.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2961, allocations: 1.17 MB / 1.299 GB, free: 34.53 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009457/0.2971, allocations: 0.8866 MB / 1.299 GB, free: 33.64 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.2972, allocations: 56 kB / 1.299 GB, free: 33.58 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.2993, allocations: 1.337 MB / 1.301 GB, free: 32.24 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2995, allocations: 238.9 kB / 1.301 GB, free: 32.01 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.3, allocations: 0.6333 MB / 1.302 GB, free: 31.37 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.3022, allocations: 2.24 MB / 1.304 GB, free: 29.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3022, allocations: 0 / 1.304 GB, free: 29.12 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.82e-07/0.3023, allocations: 0 / 1.304 GB, free: 29.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.3023, allocations: 0 / 1.304 GB, free: 29.12 MB / 0.823 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.002573/0.3049, allocations: 1.715 MB / 1.306 GB, free: 27.35 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3049, allocations: 15.92 kB / 1.306 GB, free: 27.33 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.3069, allocations: 410.8 kB / 1.306 GB, free: 26.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.3087, allocations: 1.128 MB / 1.307 GB, free: 25.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.309, allocations: 117.9 kB / 1.307 GB, free: 25.63 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3091, allocations: 80 kB / 1.307 GB, free: 25.55 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3108, allocations: 0.9778 MB / 1.308 GB, free: 24.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3109, allocations: 0 / 1.308 GB, free: 24.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.3109, allocations: 32 kB / 1.308 GB, free: 24.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.311, allocations: 23.98 kB / 1.308 GB, free: 24.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3131, allocations: 0.8664 MB / 1.309 GB, free: 23.61 MB / 0.823 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.005227/0.3183, allocations: 4.84 MB / 1.314 GB, free: 18.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.3215, allocations: 0.792 MB / 1.315 GB, free: 17.61 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.3221, allocations: 303.6 kB / 1.315 GB, free: 17.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.3226, allocations: 0.9064 MB / 1.316 GB, free: 16.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3226, allocations: 38.56 kB / 1.316 GB, free: 16.16 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.3226, allocations: 0 / 1.316 GB, free: 16.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.007959/0.3306, allocations: 1.911 MB / 1.318 GB, free: 14.22 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.3306, allocations: 63.36 kB / 1.318 GB, free: 14.14 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.332, allocations: 1.048 MB / 1.319 GB, free: 13.08 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.3321, allocations: 37.7 kB / 1.319 GB, free: 13.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.3324, allocations: 0.5235 MB / 1.319 GB, free: 12.51 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.3325, allocations: 149.8 kB / 1.319 GB, free: 12.36 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.3327, allocations: 130.1 kB / 1.32 GB, free: 12.23 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.3327, allocations: 326 kB / 1.32 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.3336, allocations: 302.9 kB / 1.32 GB, free: 11.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/0.3345, allocations: 0.5108 MB / 1.321 GB, free: 11.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3359, allocations: 0.6836 MB / 1.321 GB, free: 10.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3359, allocations: 4 kB / 1.321 GB, free: 10.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00251/0.3384, allocations: 0.9888 MB / 1.322 GB, free: 9.266 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3385, allocations: 8 kB / 1.322 GB, free: 9.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3385, allocations: 4 kB / 1.322 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.3397, allocations: 309.1 kB / 1.323 GB, free: 8.949 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.3402, allocations: 123.8 kB / 1.323 GB, free: 8.828 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.3416, allocations: 0.9129 MB / 1.324 GB, free: 7.891 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.3428, allocations: 183.2 kB / 1.324 GB, free: 7.711 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.3429, allocations: 27.98 kB / 1.324 GB, free: 7.684 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/0.3439, allocations: 0.4977 MB / 1.324 GB, free: 7.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000955/0.3449, allocations: 0.5138 MB / 1.325 GB, free: 6.582 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001451/0.3464, allocations: 0.6758 MB / 1.325 GB, free: 5.848 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.3464, allocations: 0 / 1.325 GB, free: 5.848 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00247/0.3489, allocations: 0.9771 MB / 1.326 GB, free: 4.859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3489, allocations: 12.03 kB / 1.326 GB, free: 4.848 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3489, allocations: 7.984 kB / 1.326 GB, free: 4.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.35, allocations: 310.6 kB / 1.327 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.3505, allocations: 115.9 kB / 1.327 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.3517, allocations: 0.9113 MB / 1.328 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.353, allocations: 151.6 kB / 1.328 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.3531, allocations: 35.92 kB / 1.328 GB, free: 3.301 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0001857/0.3533, allocations: 220.1 kB / 1.328 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3534, allocations: 110.7 kB / 1.328 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.357, allocations: 1.097 MB / 1.329 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.357, allocations: 12 kB / 1.329 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.357, allocations: 0 / 1.329 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.357, allocations: 3.984 kB / 1.329 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.3618, allocations: 2.16 MB / 1.331 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3618, allocations: 4 kB / 1.331 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.3621, allocations: 59.95 kB / 1.331 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.3632, allocations: 317.3 kB / 1.332 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.3632, allocations: 12 kB / 1.332 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.3647, allocations: 0.9473 MB / 1.333 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3647, allocations: 3.938 kB / 1.333 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.3697, allocations: 2.24 MB / 1.335 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.3703, allocations: 267.5 kB / 1.335 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3704, allocations: 12 kB / 1.335 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.3712, allocations: 99.83 kB / 1.335 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.3713, allocations: 35.89 kB / 1.335 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.3714, allocations: 23.98 kB / 1.335 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001103/0.3725, allocations: 0.7428 MB / 1.336 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3725, allocations: 0 / 1.336 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001645/0.3742, allocations: 0.5731 MB / 1.337 GB, free: 10.12 MB / 0.8386 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.0007295/0.3749, allocations: 371.5 kB / 1.337 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003107/0.378, allocations: 1.093 MB / 1.338 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.378, allocations: 0 / 1.338 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.3789, allocations: 350.5 kB / 1.338 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.3813, allocations: 0.5107 MB / 1.339 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.3865, allocations: 2.711 MB / 1.341 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.3872, allocations: 1.077 MB / 1.343 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0009287/0.3881, allocations: 220.6 kB / 1.343 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.3883, allocations: 75.42 kB / 1.343 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/0.3883, allocations: 0 / 1.343 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of Templates: time 0.03877/0.4271, allocations: 24.43 MB / 1.367 GB, free: 11.44 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)