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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001004/0.001004, allocations: 176.8 kB / 496.1 MB, free: 12.84 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.542/1.542, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.0008567/0.0008567, allocations: 87.95 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.266e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2968, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.493, allocations: 435.3 MB / 1.644 GB, free: 15.13 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.493, allocations: 87.95 kB / 1.644 GB, free: 15.04 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.852/4.345, allocations: 0.6495 GB / 2.293 GB, free: 241.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.774e-06/4.345, allocations: 0 / 2.293 GB, free: 241.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001392/4.345, allocations: 36.23 kB / 2.293 GB, free: 241.8 MB / 1.135 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.00398/4.349, allocations: 1.485 MB / 2.295 GB, free: 240.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/4.349, allocations: 11.22 kB / 2.295 GB, free: 240.7 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/4.35, allocations: 124 kB / 2.295 GB, free: 240.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/4.352, allocations: 439.5 kB / 2.295 GB, free: 240.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/4.355, allocations: 1.302 MB / 2.297 GB, free: 239.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/4.355, allocations: 129.2 kB / 2.297 GB, free: 239.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/4.355, allocations: 84.3 kB / 2.297 GB, free: 239.4 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/4.357, allocations: 0.8776 MB / 2.298 GB, free: 238.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/4.357, allocations: 3.25 kB / 2.298 GB, free: 238.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/4.357, allocations: 39.77 kB / 2.298 GB, free: 238.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/4.357, allocations: 28.06 kB / 2.298 GB, free: 238.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/4.358, allocations: 0.644 MB / 2.299 GB, free: 238.5 MB / 1.135 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.006091/4.364, allocations: 4.705 MB / 2.303 GB, free: 234.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/4.367, allocations: 0.6918 MB / 2.304 GB, free: 234.2 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/4.367, allocations: 212.9 kB / 2.304 GB, free: 234.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/4.368, allocations: 0.9039 MB / 2.305 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/4.368, allocations: 45.39 kB / 2.305 GB, free: 232.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/4.368, allocations: 0 / 2.305 GB, free: 232.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=42): time 0.002698/4.37, allocations: 0.761 MB / 2.306 GB, free: 232.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/4.37, allocations: 58.06 kB / 2.306 GB, free: 232.5 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/4.372, allocations: 0.8973 MB / 2.307 GB, free: 232.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/4.372, allocations: 41.39 kB / 2.307 GB, free: 232 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/4.372, allocations: 0.5386 MB / 2.307 GB, free: 231.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/4.372, allocations: 146.4 kB / 2.307 GB, free: 231.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/4.372, allocations: 10.66 kB / 2.307 GB, free: 231.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/4.372, allocations: 325.3 kB / 2.308 GB, free: 231.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/4.373, allocations: 178.8 kB / 2.308 GB, free: 231 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/4.373, allocations: 430 kB / 2.308 GB, free: 230.6 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/4.373, allocations: 221.3 kB / 2.308 GB, free: 230.5 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/4.373, allocations: 3.031 kB / 2.308 GB, free: 230.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001242/4.375, allocations: 0.7089 MB / 2.309 GB, free: 230.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003928/4.375, allocations: 1.664 MB / 2.311 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/4.375, allocations: 7.812 kB / 2.311 GB, free: 228.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009329/4.376, allocations: 264 kB / 2.311 GB, free: 228.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/4.377, allocations: 115.4 kB / 2.311 GB, free: 228.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000816/4.377, allocations: 0.8312 MB / 2.312 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/4.379, allocations: 190.4 kB / 2.312 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/4.379, allocations: 34.12 kB / 2.312 GB, free: 227.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/4.379, allocations: 7.844 kB / 2.312 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/4.38, allocations: 0.5803 MB / 2.313 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/4.38, allocations: 3.281 kB / 2.313 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007079/4.381, allocations: 252.3 kB / 2.313 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/4.381, allocations: 123.3 kB / 2.313 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006915/4.382, allocations: 0.8254 MB / 2.314 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/4.383, allocations: 169.5 kB / 2.314 GB, free: 226.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/4.383, allocations: 32.41 kB / 2.314 GB, free: 226.3 MB / 1.135 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.0002179/4.384, allocations: 137.4 kB / 2.314 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/4.384, allocations: 112.5 kB / 2.314 GB, free: 226.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/4.385, allocations: 0.7586 MB / 2.315 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/4.385, allocations: 3.812 kB / 2.315 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/4.385, allocations: 2.75 kB / 2.315 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/4.385, allocations: 7.797 kB / 2.315 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/4.39, allocations: 1.978 MB / 2.317 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/4.39, allocations: 3.5 kB / 2.317 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/4.39, allocations: 66.98 kB / 2.317 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/4.391, allocations: 257.7 kB / 2.317 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/4.391, allocations: 14.73 kB / 2.317 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007592/4.391, allocations: 0.8578 MB / 2.318 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/4.392, allocations: 3.906 kB / 2.318 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/4.394, allocations: 1.125 MB / 2.319 GB, free: 222.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/4.395, allocations: 281.5 kB / 2.32 GB, free: 222.5 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/4.395, allocations: 7.375 kB / 2.32 GB, free: 222.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/4.396, allocations: 112.8 kB / 2.32 GB, free: 222.5 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/4.396, allocations: 39.59 kB / 2.32 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/4.396, allocations: 26.2 kB / 2.32 GB, free: 222.4 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001023/4.397, allocations: 0.7066 MB / 2.32 GB, free: 222.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.91e-07/4.397, allocations: 0 / 2.32 GB, free: 222.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002002/4.399, allocations: 0.6182 MB / 2.321 GB, free: 221.9 MB / 1.135 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.004255/4.403, allocations: 2.781 MB / 2.324 GB, free: 219.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001815/4.405, allocations: 0.8308 MB / 2.325 GB, free: 219.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/4.405, allocations: 0 / 2.325 GB, free: 219.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/4.406, allocations: 288.8 kB / 2.325 GB, free: 218.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/4.408, allocations: 0.494 MB / 2.325 GB, free: 218.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/4.414, allocations: 1.839 MB / 2.327 GB, free: 216.4 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/4.414, allocations: 1.081 MB / 2.328 GB, free: 215.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001325/4.416, allocations: 273.2 kB / 2.328 GB, free: 215.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/4.416, allocations: 395.3 kB / 2.329 GB, free: 214.7 MB / 1.135 GB Notification: Performance of SimCode: time 1.192e-06/4.416, allocations: 0 / 2.329 GB, free: 214.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/4.48, allocations: 40.29 MB / 2.368 GB, free: 175.9 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/4.48, allocations: 228 kB / 2.368 GB, free: 175.6 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/7.693, allocations: 0 / 2.368 GB, free: 175.6 MB / 1.135 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