Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.163/2.163, allocations: 391.2 MB / 407 MB, free: 10.8 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.001307/0.001308, allocations: 188.4 kB / 499.1 MB, free: 4.633 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.442/1.442, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.001088/0.001088, allocations: 104.3 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 52.78 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0452/0.3135, allocations: 60.89 MB / 1.278 GB, free: 56.15 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3265, allocations: 12.05 MB / 1.289 GB, free: 44.07 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.3287, allocations: 55.62 kB / 1.289 GB, free: 44.01 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.3306, allocations: 0.5477 MB / 1.29 GB, free: 43.46 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.3354, allocations: 1.807 MB / 1.292 GB, free: 41.65 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.338, allocations: 1.072 MB / 1.293 GB, free: 40.58 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003749/0.3418, allocations: 3.931 MB / 1.297 GB, free: 36.64 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.3432, allocations: 0.9535 MB / 1.297 GB, free: 35.66 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.3456, allocations: 1.159 MB / 1.299 GB, free: 34.49 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.347, allocations: 0.9138 MB / 1.3 GB, free: 33.57 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.3473, allocations: 60 kB / 1.3 GB, free: 33.52 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.3499, allocations: 1.341 MB / 1.301 GB, free: 32.17 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.3503, allocations: 234.9 kB / 1.301 GB, free: 31.94 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000927/0.3512, allocations: 0.6372 MB / 1.302 GB, free: 31.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.3541, allocations: 2.255 MB / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3541, allocations: 0 / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3542, allocations: 3.938 kB / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.3542, allocations: 0 / 1.304 GB, free: 29.04 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003177/0.3574, allocations: 1.736 MB / 1.306 GB, free: 27.24 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3574, allocations: 15.98 kB / 1.306 GB, free: 27.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.3597, allocations: 458.8 kB / 1.306 GB, free: 26.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.3615, allocations: 1.136 MB / 1.307 GB, free: 25.58 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.3618, allocations: 117.9 kB / 1.307 GB, free: 25.46 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3619, allocations: 84 kB / 1.307 GB, free: 25.38 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.3638, allocations: 1.006 MB / 1.308 GB, free: 24.35 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3638, allocations: 4 kB / 1.308 GB, free: 24.34 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.3639, allocations: 28 kB / 1.308 GB, free: 24.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3639, allocations: 20 kB / 1.308 GB, free: 24.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.3662, allocations: 0.9562 MB / 1.309 GB, free: 23.34 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.005044/0.3713, allocations: 4.669 MB / 1.314 GB, free: 18.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00376/0.3751, allocations: 1.008 MB / 1.315 GB, free: 17.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009662/0.376, allocations: 415.1 kB / 1.315 GB, free: 16.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.3768, allocations: 1.021 MB / 1.316 GB, free: 15.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3768, allocations: 35 kB / 1.316 GB, free: 15.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 2.935e-06/0.3768, allocations: 0 / 1.316 GB, free: 15.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=53): time 0.008935/0.3857, allocations: 2.236 MB / 1.319 GB, free: 13.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.3858, allocations: 55.84 kB / 1.319 GB, free: 13.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3868, allocations: 0.9353 MB / 1.319 GB, free: 12.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.3869, allocations: 37.7 kB / 1.32 GB, free: 12.28 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.3872, allocations: 0.5002 MB / 1.32 GB, free: 11.78 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3873, allocations: 185.3 kB / 1.32 GB, free: 11.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3875, allocations: 138 kB / 1.32 GB, free: 11.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.3876, allocations: 326 kB / 1.321 GB, free: 11.13 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.3885, allocations: 362.8 kB / 1.321 GB, free: 10.77 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3896, allocations: 0.5116 MB / 1.321 GB, free: 10.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3914, allocations: 0.7658 MB / 1.322 GB, free: 9.395 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3914, allocations: 7.938 kB / 1.322 GB, free: 9.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002639/0.394, allocations: 1.072 MB / 1.323 GB, free: 8.301 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3941, allocations: 8 kB / 1.323 GB, free: 8.293 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3941, allocations: 0 / 1.323 GB, free: 8.293 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3953, allocations: 315.3 kB / 1.324 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.3959, allocations: 135.8 kB / 1.324 GB, free: 7.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.3972, allocations: 0.9074 MB / 1.325 GB, free: 6.918 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3983, allocations: 159.3 kB / 1.325 GB, free: 6.762 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.3984, allocations: 31.98 kB / 1.325 GB, free: 6.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.3995, allocations: 0.5633 MB / 1.325 GB, free: 6.164 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.4006, allocations: 0.5128 MB / 1.326 GB, free: 5.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001768/0.4023, allocations: 0.754 MB / 1.327 GB, free: 4.801 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.4023, allocations: 0 / 1.327 GB, free: 4.801 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002486/0.4048, allocations: 1.061 MB / 1.328 GB, free: 3.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.4049, allocations: 16 kB / 1.328 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4049, allocations: 11.92 kB / 1.328 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.4058, allocations: 295.5 kB / 1.328 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.4064, allocations: 127.8 kB / 1.328 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.4075, allocations: 0.9036 MB / 1.329 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4086, allocations: 147.5 kB / 1.329 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.4086, allocations: 31.97 kB / 1.329 GB, free: 2.184 MB / 0.823 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.0001781/0.4088, allocations: 228.7 kB / 1.329 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4089, allocations: 106.7 kB / 1.329 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.413, allocations: 1.322 MB / 1.331 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.413, allocations: 11.98 kB / 1.331 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.413, allocations: 0 / 1.331 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.413, allocations: 3.938 kB / 1.331 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/0.4188, allocations: 2.42 MB / 1.333 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4188, allocations: 4.031 kB / 1.333 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.4194, allocations: 103.8 kB / 1.333 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.4204, allocations: 309.6 kB / 1.333 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.4205, allocations: 15.98 kB / 1.333 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.4219, allocations: 0.9433 MB / 1.334 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.422, allocations: 4.031 kB / 1.334 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.4279, allocations: 2.557 MB / 1.337 GB, free: 9.957 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.4284, allocations: 283.5 kB / 1.337 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4286, allocations: 12 kB / 1.337 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009245/0.4295, allocations: 107.9 kB / 1.337 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4296, allocations: 40.31 kB / 1.337 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.4297, allocations: 23.98 kB / 1.337 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009322/0.4306, allocations: 0.6596 MB / 1.338 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 0 / 1.338 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001689/0.4323, allocations: 0.5807 MB / 1.339 GB, free: 8.23 MB / 0.8386 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.000842/0.4332, allocations: 385.2 kB / 1.339 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003824/0.437, allocations: 1.307 MB / 1.34 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.437, allocations: 0 / 1.34 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.4383, allocations: 460.8 kB / 1.341 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.4409, allocations: 0.4935 MB / 1.341 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.4452, allocations: 2.656 MB / 1.344 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.4458, allocations: 1.09 MB / 1.345 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001008/0.4469, allocations: 237.4 kB / 1.345 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4471, allocations: 79.42 kB / 1.345 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/0.4471, allocations: 0 / 1.345 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of Templates: time 0.03751/0.4846, allocations: 24.45 MB / 1.369 GB, free: 9.258 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)