Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.204/2.204, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001335/0.001334, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.001019/0.00102, allocations: 95.69 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.686e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2755, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.436, allocations: 425.7 MB / 1.635 GB, free: 8.672 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.437, allocations: 91.23 kB / 1.635 GB, free: 8.586 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.183/4.62, allocations: 0.8525 GB / 2.487 GB, free: 96.84 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/4.62, allocations: 0 / 2.487 GB, free: 96.84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001433/4.62, allocations: 43.92 kB / 2.487 GB, free: 96.8 MB / 1.151 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.003402/4.623, allocations: 1.711 MB / 2.489 GB, free: 95.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/4.623, allocations: 11.97 kB / 2.489 GB, free: 95.02 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/4.624, allocations: 144 kB / 2.489 GB, free: 94.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/4.624, allocations: 238.7 kB / 2.489 GB, free: 94.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/4.627, allocations: 1.702 MB / 2.491 GB, free: 92.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/4.627, allocations: 78 kB / 2.491 GB, free: 92.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/4.628, allocations: 99.95 kB / 2.491 GB, free: 92.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/4.629, allocations: 1.026 MB / 2.492 GB, free: 91.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/4.629, allocations: 0 / 2.492 GB, free: 91.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/4.629, allocations: 44 kB / 2.492 GB, free: 91.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/4.629, allocations: 34 kB / 2.492 GB, free: 91.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/4.63, allocations: 0.7536 MB / 2.493 GB, free: 90.81 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005281/4.636, allocations: 4.754 MB / 2.498 GB, free: 85.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/4.637, allocations: 0.5225 MB / 2.498 GB, free: 85.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/4.637, allocations: 276.5 kB / 2.498 GB, free: 85.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/4.637, allocations: 0.8354 MB / 2.499 GB, free: 83.99 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/4.637, allocations: 39.12 kB / 2.499 GB, free: 83.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/4.637, allocations: 0 / 2.499 GB, free: 83.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.00115/4.639, allocations: 0.6349 MB / 2.5 GB, free: 83.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/4.639, allocations: 59.97 kB / 2.5 GB, free: 83.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/4.64, allocations: 1.096 MB / 2.501 GB, free: 82.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/4.64, allocations: 45.7 kB / 2.501 GB, free: 82.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/4.64, allocations: 0.6221 MB / 2.502 GB, free: 81.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/4.641, allocations: 205 kB / 2.502 GB, free: 81.24 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/4.641, allocations: 16 kB / 2.502 GB, free: 81.22 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/4.641, allocations: 326.1 kB / 2.502 GB, free: 80.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/4.641, allocations: 205.5 kB / 2.502 GB, free: 80.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/4.642, allocations: 445.1 kB / 2.503 GB, free: 80.17 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/4.642, allocations: 269.2 kB / 2.503 GB, free: 79.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/4.642, allocations: 4 kB / 2.503 GB, free: 79.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003717/4.646, allocations: 1.193 MB / 2.504 GB, free: 78.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/4.646, allocations: 1.344 MB / 2.505 GB, free: 77.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/4.646, allocations: 4 kB / 2.505 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/4.647, allocations: 132.7 kB / 2.506 GB, free: 77.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/4.647, allocations: 159.8 kB / 2.506 GB, free: 76.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005465/4.648, allocations: 0.6889 MB / 2.506 GB, free: 76.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/4.649, allocations: 159 kB / 2.507 GB, free: 76.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/4.649, allocations: 35.98 kB / 2.507 GB, free: 76.08 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/4.649, allocations: 4 kB / 2.507 GB, free: 76.07 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003424/4.653, allocations: 1.044 MB / 2.508 GB, free: 75.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/4.653, allocations: 4 kB / 2.508 GB, free: 75.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/4.653, allocations: 144.8 kB / 2.508 GB, free: 74.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/4.653, allocations: 151.8 kB / 2.508 GB, free: 74.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/4.654, allocations: 0.6812 MB / 2.509 GB, free: 74.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/4.655, allocations: 143.2 kB / 2.509 GB, free: 73.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/4.655, allocations: 35.98 kB / 2.509 GB, free: 73.84 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002252/4.655, allocations: 152.8 kB / 2.509 GB, free: 73.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/4.656, allocations: 138.3 kB / 2.509 GB, free: 73.55 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/4.657, allocations: 0.7784 MB / 2.51 GB, free: 72.76 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/4.657, allocations: 8 kB / 2.51 GB, free: 72.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/4.657, allocations: 0 / 2.51 GB, free: 72.75 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000817/4.658, allocations: 0.6705 MB / 2.51 GB, free: 72.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/4.664, allocations: 2.523 MB / 2.513 GB, free: 69.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/4.664, allocations: 4 kB / 2.513 GB, free: 69.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/4.664, allocations: 119.8 kB / 2.513 GB, free: 69.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/4.664, allocations: 129.1 kB / 2.513 GB, free: 69.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/4.664, allocations: 27.98 kB / 2.513 GB, free: 69.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004294/4.665, allocations: 0.6793 MB / 2.514 GB, free: 68.43 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/4.665, allocations: 4 kB / 2.514 GB, free: 68.43 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/4.669, allocations: 1.797 MB / 2.516 GB, free: 66.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/4.67, allocations: 335 kB / 2.516 GB, free: 66.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/4.67, allocations: 12 kB / 2.516 GB, free: 66.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/4.671, allocations: 83.92 kB / 2.516 GB, free: 66.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/4.671, allocations: 52.27 kB / 2.516 GB, free: 65.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/4.671, allocations: 39.97 kB / 2.516 GB, free: 65.92 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001501/4.673, allocations: 0.8762 MB / 2.517 GB, free: 65.04 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/4.673, allocations: 3.938 kB / 2.517 GB, free: 65.04 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002585/4.675, allocations: 0.7798 MB / 2.518 GB, free: 64.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 (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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006009/4.681, allocations: 3.783 MB / 2.521 GB, free: 60.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001862/4.683, allocations: 0.933 MB / 2.522 GB, free: 59.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/4.683, allocations: 4 kB / 2.522 GB, free: 59.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/4.684, allocations: 326.3 kB / 2.523 GB, free: 59.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/4.688, allocations: 0.7533 MB / 2.523 GB, free: 58.38 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/4.693, allocations: 2.089 MB / 2.525 GB, free: 56.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/4.694, allocations: 1.21 MB / 2.527 GB, free: 54.96 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001989/4.696, allocations: 390.2 kB / 2.527 GB, free: 54.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/4.697, allocations: 0.4915 MB / 2.527 GB, free: 54.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/4.697, allocations: 0 / 2.527 GB, free: 54.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/4.78, allocations: 49.04 MB / 2.575 GB, free: 5.461 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/4.781, allocations: 217.3 kB / 2.576 GB, free: 5.242 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/8.368, allocations: 0 / 2.576 GB, free: 5.242 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat