Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.436/2.436, allocations: 390.5 MB / 398 MB, free: 10.96 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.001054/0.001054, allocations: 189.6 kB / 491.2 MB, free: 1.605 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.529/1.529, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001087/0.001087, allocations: 95.7 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.461e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.485, allocations: 434.6 MB / 1.637 GB, free: 12.36 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.485, allocations: 91.38 kB / 1.637 GB, free: 12.31 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.83/4.315, allocations: 0.6465 GB / 2.283 GB, free: 267.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/4.315, allocations: 3.938 kB / 2.283 GB, free: 267.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002272/4.315, allocations: 33.84 kB / 2.283 GB, free: 267.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004393/4.32, allocations: 1.488 MB / 2.285 GB, free: 266.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/4.32, allocations: 7.531 kB / 2.285 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/4.322, allocations: 443.8 kB / 2.285 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/4.326, allocations: 1.308 MB / 2.287 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/4.326, allocations: 105.5 kB / 2.287 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/4.326, allocations: 47.12 kB / 2.287 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/4.328, allocations: 0.6153 MB / 2.287 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/4.329, allocations: 0.7626 MB / 2.288 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/4.329, allocations: 0 / 2.288 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/4.329, allocations: 7.922 kB / 2.288 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/4.329, allocations: 32.09 kB / 2.288 GB, free: 265.9 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.006486/4.336, allocations: 4.538 MB / 2.292 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/4.338, allocations: 0.6616 MB / 2.293 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/4.338, allocations: 195.9 kB / 2.293 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/4.339, allocations: 0.9112 MB / 2.294 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/4.339, allocations: 38.12 kB / 2.294 GB, free: 262.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/4.339, allocations: 0 / 2.294 GB, free: 262.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002883/4.342, allocations: 0.7543 MB / 2.295 GB, free: 262.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/4.342, allocations: 55 kB / 2.295 GB, free: 262.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/4.343, allocations: 0.7484 MB / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/4.343, allocations: 29.42 kB / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/4.344, allocations: 0.5437 MB / 2.296 GB, free: 261.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/4.344, allocations: 141.1 kB / 2.296 GB, free: 261.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/4.344, allocations: 0 / 2.296 GB, free: 261.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/4.344, allocations: 333.8 kB / 2.297 GB, free: 261.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/4.344, allocations: 170.3 kB / 2.297 GB, free: 261.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/4.344, allocations: 407.3 kB / 2.297 GB, free: 261.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/4.345, allocations: 255.1 kB / 2.298 GB, free: 261.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/4.345, allocations: 0 / 2.298 GB, free: 261.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001471/4.347, allocations: 0.7059 MB / 2.298 GB, free: 261.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/4.347, allocations: 1.667 MB / 2.3 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/4.347, allocations: 3.812 kB / 2.3 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/4.348, allocations: 234.5 kB / 2.3 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/4.348, allocations: 117.4 kB / 2.3 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009086/4.349, allocations: 0.8784 MB / 2.301 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/4.351, allocations: 163.1 kB / 2.301 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/4.351, allocations: 32.66 kB / 2.301 GB, free: 258.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/4.351, allocations: 6.688 kB / 2.301 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/4.352, allocations: 0.5601 MB / 2.302 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/4.352, allocations: 3.156 kB / 2.302 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/4.352, allocations: 237.2 kB / 2.302 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/4.353, allocations: 119.7 kB / 2.302 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/4.354, allocations: 0.8613 MB / 2.303 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/4.355, allocations: 136.8 kB / 2.303 GB, free: 258.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/4.355, allocations: 27.61 kB / 2.303 GB, free: 258.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/4.355, allocations: 120.5 kB / 2.303 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00256/4.358, allocations: 0.755 MB / 2.304 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/4.358, allocations: 102.7 kB / 2.304 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/4.36, allocations: 0.7085 MB / 2.305 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/4.36, allocations: 13.38 kB / 2.305 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/4.36, allocations: 0 / 2.305 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/4.36, allocations: 0 / 2.305 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/4.364, allocations: 1.863 MB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/4.364, allocations: 8.719 kB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/4.364, allocations: 65.5 kB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005904/4.365, allocations: 245.9 kB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/4.365, allocations: 11.09 kB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/4.366, allocations: 0.9043 MB / 2.308 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/4.366, allocations: 11.3 kB / 2.308 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/4.368, allocations: 1.073 MB / 2.309 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/4.369, allocations: 267.1 kB / 2.309 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/4.369, allocations: 3.906 kB / 2.309 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/4.37, allocations: 101.2 kB / 2.309 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/4.37, allocations: 37.89 kB / 2.309 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/4.37, allocations: 27.08 kB / 2.309 GB, free: 256.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008631/4.371, allocations: 0.5684 MB / 2.31 GB, free: 256.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.371, allocations: 0 / 2.31 GB, free: 256.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002258/4.373, allocations: 0.6156 MB / 2.31 GB, free: 256.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004331/4.378, allocations: 2.741 MB / 2.313 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001683/4.379, allocations: 0.7906 MB / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/4.379, allocations: 1.875 kB / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/4.38, allocations: 269.5 kB / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/4.382, allocations: 385.7 kB / 2.315 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/4.388, allocations: 1.765 MB / 2.316 GB, free: 254.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/4.389, allocations: 1.092 MB / 2.317 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00132/4.39, allocations: 241.3 kB / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/4.39, allocations: 379.3 kB / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/4.39, allocations: 0 / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06607/4.456, allocations: 32.13 MB / 2.349 GB, free: 252.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/4.457, allocations: 170.8 kB / 2.349 GB, free: 252.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/7.588, allocations: 3.281 kB / 2.349 GB, free: 252.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat does not exist to compare? outputFormat=mat