Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.005546/0.005546, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001395/0.001395, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2746, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6544/0.929, allocations: 162.9 MB / 1.325 GB, free: 6.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.9342, allocations: 3.48 MB / 1.329 GB, free: 4.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.9346, allocations: 19.56 kB / 1.329 GB, free: 4.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.9354, allocations: 278.1 kB / 1.329 GB, free: 4.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.9373, allocations: 0.8618 MB / 1.33 GB, free: 3.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.9383, allocations: 482 kB / 1.33 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.9396, allocations: 1.087 MB / 1.331 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.94, allocations: 328.2 kB / 1.332 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.9406, allocations: 408.5 kB / 1.332 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.9414, allocations: 341.5 kB / 1.332 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.9415, allocations: 40.22 kB / 1.332 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.9427, allocations: 0.6964 MB / 1.333 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.9428, allocations: 166.7 kB / 1.333 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.9431, allocations: 273.3 kB / 1.333 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.9443, allocations: 0.9476 MB / 1.334 GB, free: 1.508 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9443, allocations: 0 / 1.334 GB, free: 1.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9443, allocations: 0 / 1.334 GB, free: 1.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.9443, allocations: 4 kB / 1.334 GB, free: 1.504 MB / 1.014 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.001298/0.9456, allocations: 0.883 MB / 1.335 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.9456, allocations: 8.469 kB / 1.335 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.9457, allocations: 71.23 kB / 1.335 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009106/0.9466, allocations: 147.3 kB / 1.335 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.9473, allocations: 0.5023 MB / 1.336 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.9474, allocations: 24 kB / 1.336 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.9474, allocations: 31.7 kB / 1.336 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.9479, allocations: 324.2 kB / 1.336 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.948, allocations: 5.062 kB / 1.336 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.948, allocations: 14.58 kB / 1.336 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.948, allocations: 11.91 kB / 1.336 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.9484, allocations: 220.5 kB / 1.337 GB, free: 108 kB / 1.014 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.001728/0.9501, allocations: 1.416 MB / 1.338 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.9505, allocations: 218.2 kB / 1.338 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.9507, allocations: 108.9 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.9507, allocations: 4.094 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.951, allocations: 174.7 kB / 1.338 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.951, allocations: 0 / 1.338 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.002583/0.9536, allocations: 1.096 MB / 1.34 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9536, allocations: 57.62 kB / 1.34 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.9541, allocations: 460.2 kB / 1.34 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.9542, allocations: 35.14 kB / 1.34 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.9543, allocations: 234.8 kB / 1.34 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.9544, allocations: 108.6 kB / 1.34 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.9545, allocations: 81.78 kB / 1.34 GB, free: 13.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9547, allocations: 356 kB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.9549, allocations: 125.9 kB / 1.341 GB, free: 13.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.9552, allocations: 182.5 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.9556, allocations: 311.7 kB / 1.341 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9556, allocations: 0 / 1.341 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009084/0.9565, allocations: 488.8 kB / 1.342 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.9566, allocations: 6.438 kB / 1.342 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9566, allocations: 3.688 kB / 1.342 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.9569, allocations: 81.58 kB / 1.342 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.9572, allocations: 69.69 kB / 1.342 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.9589, allocations: 1.918 MB / 1.344 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.9592, allocations: 14.77 kB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.9592, allocations: 14 kB / 1.344 GB, free: 10.86 MB / 1.029 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.9594, allocations: 197.1 kB / 1.344 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.9595, allocations: 53.81 kB / 1.344 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.9596, allocations: 58.03 kB / 1.344 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9596, allocations: 2.562 kB / 1.344 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9596, allocations: 1.062 kB / 1.344 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9596, allocations: 2.484 kB / 1.344 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.9618, allocations: 0.9617 MB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9618, allocations: 4 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.9623, allocations: 63.28 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.9627, allocations: 76.38 kB / 1.345 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.9628, allocations: 14.36 kB / 1.345 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.9648, allocations: 1.656 MB / 1.347 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9648, allocations: 0 / 1.347 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.9657, allocations: 0.5647 MB / 1.347 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.9659, allocations: 160.3 kB / 1.348 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.966, allocations: 13.97 kB / 1.348 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.9663, allocations: 11.59 kB / 1.348 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.9664, allocations: 22.22 kB / 1.348 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.9664, allocations: 9.844 kB / 1.348 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003949/0.9668, allocations: 307.8 kB / 1.348 GB, free: 7.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9668, allocations: 0 / 1.348 GB, free: 7.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005712/0.9674, allocations: 123.2 kB / 1.348 GB, free: 7.824 MB / 1.029 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 (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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00294/0.9704, allocations: 1.45 MB / 1.349 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007945/0.9712, allocations: 419.5 kB / 1.35 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.9712, allocations: 2.25 kB / 1.35 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.9715, allocations: 254.6 kB / 1.35 GB, free: 6.457 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.9727, allocations: 242.6 kB / 1.35 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.9784, allocations: 4.136 MB / 1.354 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.9789, allocations: 0.8504 MB / 1.355 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.9793, allocations: 85.05 kB / 1.355 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.9796, allocations: 154.1 kB / 1.355 GB, free: 3.102 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.9796, allocations: 0 / 1.355 GB, free: 3.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.638/7.618, allocations: 12.89 MB / 1.368 GB, free: 14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/20.11, allocations: 10.77 kB / 1.368 GB, free: 14 MB / 1.045 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)