Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009531, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009616/0.0009617, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005193, allocations: 15 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05146/0.2809, allocations: 51.35 MB / 0.8373 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2948, allocations: 10.23 MB / 0.8473 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.2967, allocations: 43.69 kB / 0.8473 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.2988, allocations: 0.6258 MB / 0.8479 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.3041, allocations: 1.897 MB / 0.8498 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.3077, allocations: 1.323 MB / 0.8511 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003023/0.3108, allocations: 1.843 MB / 0.8529 GB, free: 8.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.3121, allocations: 0.8132 MB / 0.8536 GB, free: 7.703 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.314, allocations: 0.9887 MB / 0.8546 GB, free: 6.711 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3151, allocations: 0.6027 MB / 0.8552 GB, free: 6.105 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3154, allocations: 44 kB / 0.8552 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3175, allocations: 1.006 MB / 0.8562 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.3177, allocations: 199.2 kB / 0.8564 GB, free: 4.859 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.3181, allocations: 281 kB / 0.8567 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.32, allocations: 1.598 MB / 0.8582 GB, free: 2.977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.32, allocations: 3.938 kB / 0.8582 GB, free: 2.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.32, allocations: 0 / 0.8582 GB, free: 2.973 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.055e-05/0.3201, allocations: 0 / 0.8582 GB, free: 2.973 MB / 0.67 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.002893/0.323, allocations: 1.493 MB / 0.8597 GB, free: 1.422 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.323, allocations: 12.02 kB / 0.8597 GB, free: 1.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.3252, allocations: 469.9 kB / 0.8602 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.3271, allocations: 1.066 MB / 0.8612 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.3275, allocations: 129.9 kB / 0.8613 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3276, allocations: 79.94 kB / 0.8614 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3296, allocations: 0.9995 MB / 0.8624 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3296, allocations: 3.938 kB / 0.8624 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.3297, allocations: 36 kB / 0.8624 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3297, allocations: 20 kB / 0.8624 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.332, allocations: 0.9251 MB / 0.8633 GB, free: 13.6 MB / 0.6856 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.006281/0.3383, allocations: 4.662 MB / 0.8679 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/0.3418, allocations: 0.9423 MB / 0.8688 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.3424, allocations: 0.9029 MB / 0.8697 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3424, allocations: 42.94 kB / 0.8697 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 1.803e-06/0.3424, allocations: 0 / 0.8697 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008447/0.3509, allocations: 2.201 MB / 0.8719 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3509, allocations: 63.84 kB / 0.8719 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.3524, allocations: 1.063 MB / 0.873 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.3524, allocations: 37.7 kB / 0.873 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.3528, allocations: 0.5158 MB / 0.8735 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.353, allocations: 169.5 kB / 0.8737 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.353, allocations: 15.94 kB / 0.8737 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3531, allocations: 333.9 kB / 0.874 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008836/0.354, allocations: 332.9 kB / 0.8743 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009926/0.355, allocations: 0.528 MB / 0.8749 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.3559, allocations: 368.5 kB / 0.8752 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3559, allocations: 4 kB / 0.8752 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002556/0.3585, allocations: 1.062 MB / 0.8762 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004712/0.359, allocations: 1.407 MB / 0.8776 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.359, allocations: 4 kB / 0.8776 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3602, allocations: 346.4 kB / 0.878 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.3608, allocations: 127.8 kB / 0.8781 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.3622, allocations: 0.9387 MB / 0.879 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3633, allocations: 199.1 kB / 0.8792 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.3634, allocations: 31.98 kB / 0.8792 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.3634, allocations: 4 kB / 0.8792 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002386/0.3658, allocations: 0.9399 MB / 0.8801 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3659, allocations: 4 kB / 0.8801 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3669, allocations: 324.3 kB / 0.8804 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.3674, allocations: 135.8 kB / 0.8806 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.3688, allocations: 0.9464 MB / 0.8815 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.3698, allocations: 167.3 kB / 0.8817 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.3699, allocations: 31.98 kB / 0.8817 GB, free: 9.949 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004688/0.3704, allocations: 360.1 kB / 0.882 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3706, allocations: 106.7 kB / 0.8821 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.3743, allocations: 1.264 MB / 0.8834 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3743, allocations: 7.984 kB / 0.8834 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3743, allocations: 4 kB / 0.8834 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3743, allocations: 0 / 0.8834 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.3793, allocations: 2.354 MB / 0.8857 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3793, allocations: 4 kB / 0.8857 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3796, allocations: 79.88 kB / 0.8858 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009809/0.3806, allocations: 328.8 kB / 0.8861 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3807, allocations: 19.98 kB / 0.8861 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.3821, allocations: 0.9649 MB / 0.887 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3821, allocations: 4.031 kB / 0.887 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.3857, allocations: 1.44 MB / 0.8884 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.3861, allocations: 295.4 kB / 0.8887 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3863, allocations: 16 kB / 0.8887 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.3872, allocations: 107.8 kB / 0.8888 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.3872, allocations: 47.31 kB / 0.8889 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3873, allocations: 23.98 kB / 0.8889 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001054/0.3884, allocations: 0.7547 MB / 0.8897 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3884, allocations: 0 / 0.8897 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001433/0.3898, allocations: 0.5692 MB / 0.8902 GB, free: 0.9766 MB / 0.7012 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007044/0.3905, allocations: 379.4 kB / 0.8906 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.3936, allocations: 1.214 MB / 0.8918 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3936, allocations: 3.938 kB / 0.8918 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008936/0.3945, allocations: 402.9 kB / 0.8921 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.3967, allocations: 0.515 MB / 0.8926 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.4019, allocations: 2.504 MB / 0.8951 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.4027, allocations: 1.094 MB / 0.8962 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009164/0.4036, allocations: 228.6 kB / 0.8964 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4038, allocations: 87.41 kB / 0.8965 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.4038, allocations: 0 / 0.8965 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of Templates: time 0.03751/0.4413, allocations: 24.09 MB / 0.92 GB, free: 2.695 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: