Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 171.3 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 0.578 GB, free: 20.37 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.00078, allocations: 92.36 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 10.16 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 106.4 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1674/0.3597, allocations: 158.6 MB / 1.056 GB, free: 492 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4856/0.8454, allocations: 3.296 MB / 1.059 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.8461, allocations: 12.56 kB / 1.059 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.8469, allocations: 250.3 kB / 1.059 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.8491, allocations: 0.8008 MB / 1.06 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.8502, allocations: 408.4 kB / 1.06 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.8517, allocations: 1.427 MB / 1.062 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.8522, allocations: 282.6 kB / 1.062 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.8527, allocations: 363.2 kB / 1.062 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.8537, allocations: 337.6 kB / 1.063 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.8537, allocations: 15.16 kB / 1.063 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8552, allocations: 0.7803 MB / 1.064 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.8554, allocations: 144.8 kB / 1.064 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.8558, allocations: 269.6 kB / 1.064 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.8573, allocations: 0.9452 MB / 1.065 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8573, allocations: 0 / 1.065 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8573, allocations: 1.75 kB / 1.065 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.8573, allocations: 0 / 1.065 GB, free: 17.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001304/0.8586, allocations: 0.7616 MB / 1.066 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8587, allocations: 10.91 kB / 1.066 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.8588, allocations: 67.97 kB / 1.066 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.8598, allocations: 152.7 kB / 1.066 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.8605, allocations: 487.4 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.8605, allocations: 25.5 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.8606, allocations: 32.97 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.8612, allocations: 328.3 kB / 1.067 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.8612, allocations: 0 / 1.067 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.8612, allocations: 18.56 kB / 1.067 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8613, allocations: 14.25 kB / 1.067 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.8617, allocations: 220.8 kB / 1.067 GB, free: 16.84 MB / 0.7136 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.001942/0.8636, allocations: 1.419 MB / 1.068 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.864, allocations: 217.2 kB / 1.069 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.8642, allocations: 111.3 kB / 1.069 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8643, allocations: 5.469 kB / 1.069 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.8646, allocations: 173.8 kB / 1.069 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.8646, allocations: 0 / 1.069 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.003079/0.8677, allocations: 1.151 MB / 1.07 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.8678, allocations: 55.55 kB / 1.07 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.8685, allocations: 457.5 kB / 1.07 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.8685, allocations: 31.95 kB / 1.07 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.8687, allocations: 237.1 kB / 1.071 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.8688, allocations: 103.8 kB / 1.071 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.8688, allocations: 9.438 kB / 1.071 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.869, allocations: 355.2 kB / 1.071 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.8693, allocations: 127 kB / 1.071 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.8696, allocations: 202.4 kB / 1.071 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.8701, allocations: 313.2 kB / 1.072 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8701, allocations: 5.438 kB / 1.072 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001061/0.8712, allocations: 497.9 kB / 1.072 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8712, allocations: 5.656 kB / 1.072 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8712, allocations: 1.438 kB / 1.072 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.8716, allocations: 86.88 kB / 1.072 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.872, allocations: 70.83 kB / 1.072 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.8738, allocations: 1.745 MB / 1.074 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.8742, allocations: 41 kB / 1.074 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.8743, allocations: 19.8 kB / 1.074 GB, free: 13.3 MB / 0.7136 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 (42): * Single equations (assignments): 41 * 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.0002828/0.8746, allocations: 191.5 kB / 1.074 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.8746, allocations: 42.94 kB / 1.074 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.8748, allocations: 55.12 kB / 1.074 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8748, allocations: 3.094 kB / 1.074 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8748, allocations: 1.781 kB / 1.074 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.8748, allocations: 6.703 kB / 1.074 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.8768, allocations: 1.016 MB / 1.075 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8768, allocations: 0.7188 kB / 1.075 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.8773, allocations: 72.98 kB / 1.075 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/0.8776, allocations: 81.95 kB / 1.076 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.8777, allocations: 13.22 kB / 1.076 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.8793, allocations: 1.555 MB / 1.077 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8793, allocations: 0.9062 kB / 1.077 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.8805, allocations: 0.5831 MB / 1.078 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.8808, allocations: 157.2 kB / 1.078 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.8809, allocations: 8 kB / 1.078 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.8813, allocations: 27.55 kB / 1.078 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.8814, allocations: 30.23 kB / 1.078 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.8814, allocations: 15.28 kB / 1.078 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004219/0.8818, allocations: 300.8 kB / 1.078 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8818, allocations: 0.9062 kB / 1.078 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006235/0.8825, allocations: 122 kB / 1.078 GB, free: 11.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 24 * 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.002231/0.8847, allocations: 1.459 MB / 1.08 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008742/0.8856, allocations: 426.6 kB / 1.08 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8856, allocations: 3.969 kB / 1.08 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.8859, allocations: 252.5 kB / 1.08 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.8871, allocations: 230 kB / 1.081 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/0.8948, allocations: 4.426 MB / 1.085 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.8955, allocations: 0.8505 MB / 1.086 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005446/0.896, allocations: 89.66 kB / 1.086 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.8963, allocations: 152.6 kB / 1.086 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/0.8963, allocations: 0 / 1.086 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.926, allocations: 12.22 MB / 1.098 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.9262, allocations: 267.1 kB / 1.098 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.372, allocations: 0 / 1.098 GB, free: 6.074 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)