Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_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.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.136/1.136, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 71.88 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.456, allocations: 140.3 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.064/0.5201, allocations: 75.2 MB / 1.023 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.5354, allocations: 12.77 MB / 1.036 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5365, allocations: 63.62 kB / 1.036 GB, free: 9.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.538, allocations: 0.8267 MB / 1.036 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.5422, allocations: 2.465 MB / 1.039 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.5446, allocations: 1.376 MB / 1.04 GB, free: 4.891 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.5482, allocations: 4.389 MB / 1.045 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.5497, allocations: 1.429 MB / 1.046 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.552, allocations: 1.615 MB / 1.047 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.5532, allocations: 1.19 MB / 1.049 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.5534, allocations: 160 kB / 1.049 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.5555, allocations: 1.423 MB / 1.05 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003283/0.5559, allocations: 406.5 kB / 1.051 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.5566, allocations: 0.9021 MB / 1.051 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.5593, allocations: 2.848 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5593, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5593, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5593, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003134/0.5625, allocations: 2.079 MB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.5625, allocations: 12.03 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.5627, allocations: 156.1 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.5635, allocations: 230.5 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.5655, allocations: 1.457 MB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.5655, allocations: 74 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.5657, allocations: 100 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.5675, allocations: 1.1 MB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.5675, allocations: 3.938 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.5676, allocations: 44 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.5677, allocations: 27.98 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.5695, allocations: 0.8899 MB / 1.06 GB, free: 152 kB / 0.8106 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.005131/0.5746, allocations: 4.939 MB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.5759, allocations: 0.6239 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.5766, allocations: 354.3 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.5772, allocations: 0.8238 MB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5773, allocations: 47.11 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/0.5773, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.007118/0.5844, allocations: 1.697 MB / 1.069 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5844, allocations: 59.91 kB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5858, allocations: 1.225 MB / 1.07 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.5859, allocations: 37.7 kB / 1.07 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004688/0.5864, allocations: 0.6026 MB / 1.07 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.5865, allocations: 220.9 kB / 1.071 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.5868, allocations: 158.4 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5869, allocations: 337.9 kB / 1.071 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.5876, allocations: 292.7 kB / 1.071 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.5884, allocations: 495 kB / 1.072 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.5898, allocations: 0.7004 MB / 1.073 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.5898, allocations: 4 kB / 1.073 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004775/0.5946, allocations: 1.269 MB / 1.074 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5946, allocations: 8 kB / 1.074 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5946, allocations: 4 kB / 1.074 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.5953, allocations: 165 kB / 1.074 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.5959, allocations: 151.8 kB / 1.074 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/0.5967, allocations: 0.72 MB / 1.075 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.5976, allocations: 119 kB / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.5976, allocations: 40.05 kB / 1.075 GB, free: 368 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009867/0.5986, allocations: 0.5488 MB / 1.075 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008011/0.5995, allocations: 495 kB / 1.076 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.6008, allocations: 0.6926 MB / 1.077 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.6008, allocations: 4 kB / 1.077 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004679/0.6055, allocations: 1.273 MB / 1.078 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.6055, allocations: 8 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6056, allocations: 4 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.6061, allocations: 168.9 kB / 1.078 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.6067, allocations: 155.8 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007931/0.6075, allocations: 0.7123 MB / 1.079 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/0.6084, allocations: 103.4 kB / 1.079 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.6084, allocations: 31.98 kB / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.6086, allocations: 236.1 kB / 1.079 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6088, allocations: 134.3 kB / 1.079 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.6136, allocations: 1.275 MB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6136, allocations: 11.98 kB / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6136, allocations: 0 / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004223/0.6178, allocations: 1.107 MB / 1.082 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.6239, allocations: 2.641 MB / 1.084 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6239, allocations: 4 kB / 1.084 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.6243, allocations: 107.9 kB / 1.084 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.6249, allocations: 153.1 kB / 1.085 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.625, allocations: 19.98 kB / 1.085 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007425/0.6257, allocations: 0.7122 MB / 1.085 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6257, allocations: 4 kB / 1.085 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/0.6307, allocations: 1.699 MB / 1.087 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.6311, allocations: 315.1 kB / 1.087 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.6313, allocations: 16 kB / 1.087 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.632, allocations: 59.92 kB / 1.087 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.6321, allocations: 52.31 kB / 1.087 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.6322, allocations: 35.97 kB / 1.087 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001032/0.6332, allocations: 0.8816 MB / 1.088 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.433e-06/0.6333, allocations: 0 / 1.088 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001442/0.6347, allocations: 0.7173 MB / 1.089 GB, free: 1.574 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006011/0.6407, allocations: 2.614 MB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.6433, allocations: 1.164 MB / 1.093 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6433, allocations: 4 kB / 1.093 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.6441, allocations: 383.3 kB / 1.093 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.6473, allocations: 0.7997 MB / 1.094 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.6663, allocations: 10.48 MB / 1.104 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.667, allocations: 1.172 MB / 1.105 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001002/0.668, allocations: 303 kB / 1.105 GB, free: 84 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.6686, allocations: 0.511 MB / 1.106 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.6686, allocations: 0 / 1.106 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.05/2.718, allocations: 42.12 MB / 1.147 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/16.09, allocations: 3.234 kB / 1.147 GB, free: 5.965 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)