Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",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.0009228/0.0009228, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.537/2.537, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.8563, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1864/1.043, allocations: 147.9 MB / 1.126 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006346/1.049, allocations: 3.25 MB / 1.129 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/1.05, allocations: 19.81 kB / 1.129 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008526/1.051, allocations: 202.9 kB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/1.053, allocations: 0.6259 MB / 1.13 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/1.054, allocations: 352.9 kB / 1.13 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001545/1.056, allocations: 1.173 MB / 1.131 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/1.056, allocations: 258.3 kB / 1.131 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/1.056, allocations: 346.4 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/1.057, allocations: 318.7 kB / 1.132 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/1.057, allocations: 16 kB / 1.132 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/1.058, allocations: 363.1 kB / 1.132 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/1.058, allocations: 135.5 kB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/1.058, allocations: 121.5 kB / 1.133 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007593/1.059, allocations: 0.639 MB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/1.059, allocations: 4 kB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.835e-06/1.059, allocations: 0 / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.059, allocations: 4 kB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001228/1.06, allocations: 0.7708 MB / 1.134 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.061, allocations: 12.03 kB / 1.134 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/1.061, allocations: 66.53 kB / 1.134 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/1.062, allocations: 159.2 kB / 1.134 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/1.062, allocations: 469.3 kB / 1.135 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/1.062, allocations: 24.56 kB / 1.135 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/1.062, allocations: 35.98 kB / 1.135 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/1.063, allocations: 319.6 kB / 1.135 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.063, allocations: 0 / 1.135 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/1.063, allocations: 15.98 kB / 1.135 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/1.063, allocations: 12.52 kB / 1.135 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/1.063, allocations: 222 kB / 1.135 GB, free: 7.898 MB / 0.8887 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.001789/1.065, allocations: 1.422 MB / 1.137 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/1.066, allocations: 218.8 kB / 1.137 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/1.066, allocations: 104.8 kB / 1.137 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/1.066, allocations: 7.984 kB / 1.137 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/1.066, allocations: 152.8 kB / 1.137 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/1.066, allocations: 0 / 1.137 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29): time 0.002657/1.069, allocations: 1.094 MB / 1.138 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.069, allocations: 55.41 kB / 1.138 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/1.069, allocations: 465.8 kB / 1.139 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/1.069, allocations: 37.7 kB / 1.139 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.07, allocations: 236.3 kB / 1.139 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/1.07, allocations: 98.55 kB / 1.139 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/1.07, allocations: 16 kB / 1.139 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.07, allocations: 354.8 kB / 1.139 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/1.07, allocations: 124.7 kB / 1.139 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/1.07, allocations: 178.9 kB / 1.14 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/1.071, allocations: 153.5 kB / 1.14 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.071, allocations: 4 kB / 1.14 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009015/1.072, allocations: 474.5 kB / 1.14 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.072, allocations: 17.67 kB / 1.14 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.072, allocations: 3.938 kB / 1.14 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/1.072, allocations: 80.8 kB / 1.14 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/1.072, allocations: 67.84 kB / 1.14 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/1.074, allocations: 1.776 MB / 1.142 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/1.074, allocations: 23.95 kB / 1.142 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/1.075, allocations: 12 kB / 1.142 GB, free: 372 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/1.075, allocations: 197.8 kB / 1.142 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/1.075, allocations: 47.44 kB / 1.142 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/1.075, allocations: 56.61 kB / 1.142 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.075, allocations: 7.938 kB / 1.142 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.075, allocations: 0 / 1.142 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.075, allocations: 0 / 1.142 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/1.076, allocations: 0.9568 MB / 1.143 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.077, allocations: 3.984 kB / 1.143 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/1.077, allocations: 63.91 kB / 1.143 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/1.077, allocations: 72.75 kB / 1.144 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.077, allocations: 15.98 kB / 1.144 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.079, allocations: 1.558 MB / 1.145 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.079, allocations: 0 / 1.145 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/1.08, allocations: 0.5675 MB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/1.08, allocations: 156.5 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/1.08, allocations: 8.047 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/1.08, allocations: 23.28 kB / 1.146 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/1.08, allocations: 23.97 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/1.08, allocations: 11.98 kB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003833/1.081, allocations: 303.1 kB / 1.146 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.081, allocations: 0 / 1.146 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006164/1.081, allocations: 120 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/1.084, allocations: 1.435 MB / 1.148 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.085, allocations: 442.7 kB / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.085, allocations: 0 / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/1.085, allocations: 250.5 kB / 1.148 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.086, allocations: 236.4 kB / 1.149 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/1.091, allocations: 2.998 MB / 1.151 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/1.092, allocations: 0.8467 MB / 1.152 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004147/1.092, allocations: 80.34 kB / 1.152 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.093, allocations: 155.4 kB / 1.152 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of SimCode: time 1.533e-06/1.093, allocations: 0 / 1.152 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/1.126, allocations: 12.67 MB / 1.165 GB, free: 9.129 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.126, allocations: 239.2 kB / 1.165 GB, free: 8.891 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.458, allocations: 0 / 1.165 GB, free: 8.891 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat