Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.001011/0.001011, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007565/0.007566, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 11.03 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2289, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05003/0.279, allocations: 59.8 MB / 1.117 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.2925, allocations: 11.92 MB / 1.129 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.2939, allocations: 51.62 kB / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.2953, allocations: 0.5438 MB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.2993, allocations: 1.8 MB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.3016, allocations: 1.083 MB / 1.132 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003735/0.3053, allocations: 3.902 MB / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3065, allocations: 0.9061 MB / 1.137 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3084, allocations: 1.116 MB / 1.138 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.3096, allocations: 0.8514 MB / 1.139 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3097, allocations: 40 kB / 1.139 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.3118, allocations: 1.349 MB / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.312, allocations: 206.9 kB / 1.14 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005824/0.3126, allocations: 0.6389 MB / 1.141 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.3148, allocations: 2.196 MB / 1.143 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3148, allocations: 0 / 1.143 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3148, allocations: 0 / 1.143 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3148, allocations: 0 / 1.143 GB, free: 14.17 MB / 0.9044 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.002229/0.317, allocations: 1.493 MB / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3171, allocations: 15.97 kB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.3172, allocations: 122.9 kB / 1.145 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.3192, allocations: 470.8 kB / 1.145 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.321, allocations: 1.137 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.3213, allocations: 129.9 kB / 1.146 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3215, allocations: 80 kB / 1.146 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3233, allocations: 1.005 MB / 1.147 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3233, allocations: 4 kB / 1.147 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/0.3234, allocations: 32 kB / 1.148 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3234, allocations: 20 kB / 1.148 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.3256, allocations: 0.925 MB / 1.148 GB, free: 8.582 MB / 0.9044 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.005314/0.3309, allocations: 4.898 MB / 1.153 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.3343, allocations: 0.9096 MB / 1.154 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.335, allocations: 318.9 kB / 1.154 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.3355, allocations: 0.9141 MB / 1.155 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3356, allocations: 42.5 kB / 1.155 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.3356, allocations: 0 / 1.155 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.008563/0.3441, allocations: 2.172 MB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3442, allocations: 59.36 kB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3455, allocations: 1.059 MB / 1.159 GB, free: 13.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.3455, allocations: 37.7 kB / 1.159 GB, free: 13.53 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.3459, allocations: 0.5235 MB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.346, allocations: 149.8 kB / 1.159 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.3461, allocations: 49.69 kB / 1.159 GB, free: 12.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3462, allocations: 322 kB / 1.16 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008448/0.347, allocations: 328.9 kB / 1.16 GB, free: 12.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009812/0.348, allocations: 0.5333 MB / 1.16 GB, free: 11.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.3496, allocations: 0.7328 MB / 1.161 GB, free: 10.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3496, allocations: 0 / 1.161 GB, free: 10.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002466/0.3521, allocations: 1.043 MB / 1.162 GB, free: 9.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.3522, allocations: 212.5 kB / 1.162 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3522, allocations: 4 kB / 1.162 GB, free: 9.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3535, allocations: 340.5 kB / 1.163 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.354, allocations: 127.8 kB / 1.163 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.3553, allocations: 0.9425 MB / 1.164 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.3565, allocations: 187.3 kB / 1.164 GB, free: 7.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.3566, allocations: 31.98 kB / 1.164 GB, free: 7.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-06/0.3566, allocations: 4 kB / 1.164 GB, free: 7.781 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/0.3589, allocations: 0.9175 MB / 1.165 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3589, allocations: 4.438 kB / 1.165 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3599, allocations: 338.8 kB / 1.165 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.3604, allocations: 123.9 kB / 1.165 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3617, allocations: 0.9348 MB / 1.166 GB, free: 5.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.3627, allocations: 179.4 kB / 1.166 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.3628, allocations: 27.98 kB / 1.166 GB, free: 5.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0003818/0.3632, allocations: 356.9 kB / 1.167 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.3633, allocations: 110.7 kB / 1.167 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.367, allocations: 1.211 MB / 1.168 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.367, allocations: 15.92 kB / 1.168 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.367, allocations: 0 / 1.168 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.367, allocations: 3.938 kB / 1.168 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.3718, allocations: 2.288 MB / 1.17 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3718, allocations: 4 kB / 1.17 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.3721, allocations: 76.17 kB / 1.17 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.3731, allocations: 324.7 kB / 1.171 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3731, allocations: 8 kB / 1.171 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.3745, allocations: 0.9843 MB / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3745, allocations: 0 / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.378, allocations: 1.286 MB / 1.173 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.3784, allocations: 279.5 kB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3785, allocations: 16 kB / 1.173 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.3793, allocations: 111.8 kB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.3794, allocations: 39.89 kB / 1.173 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.3795, allocations: 23.98 kB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009812/0.3804, allocations: 0.7428 MB / 1.174 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3805, allocations: 4 kB / 1.174 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001221/0.3817, allocations: 0.5652 MB / 1.175 GB, free: 12.61 MB / 0.9356 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 (34): * Single equations (assignments): 29 * 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.004292/0.386, allocations: 2.101 MB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.3889, allocations: 1.177 MB / 1.178 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3889, allocations: 0 / 1.178 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.3897, allocations: 374.9 kB / 1.178 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.3923, allocations: 0.5177 MB / 1.179 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.4092, allocations: 9.211 MB / 1.188 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4098, allocations: 1.062 MB / 1.189 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007852/0.4106, allocations: 231.5 kB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.4111, allocations: 407.3 kB / 1.189 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of SimCode: time 1.523e-06/0.4111, allocations: 0 / 1.189 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.317/4.728, allocations: 32.29 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/4.729, allocations: 291.9 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/7.303, allocations: 0 / 1.221 GB, free: 12.82 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)