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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 70.56 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2273, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.143/0.3704, allocations: 160.7 MB / 1.209 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3748, allocations: 3.514 MB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.3751, allocations: 11.94 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.3757, allocations: 250.9 kB / 1.213 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3773, allocations: 0.7937 MB / 1.214 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.3782, allocations: 438.1 kB / 1.214 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.3793, allocations: 1.368 MB / 1.215 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.3797, allocations: 292 kB / 1.216 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.3801, allocations: 338.5 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.3808, allocations: 356.5 kB / 1.216 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.3809, allocations: 16 kB / 1.216 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.382, allocations: 0.7949 MB / 1.217 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3822, allocations: 151.5 kB / 1.217 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.3824, allocations: 250.6 kB / 1.217 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.3834, allocations: 0.9542 MB / 1.218 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3834, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3834, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3834, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9825 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.001219/0.3846, allocations: 0.8757 MB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3847, allocations: 11.97 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.3847, allocations: 70.47 kB / 1.219 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.3857, allocations: 147.2 kB / 1.219 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.3864, allocations: 496.9 kB / 1.22 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3864, allocations: 24.56 kB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.3864, allocations: 32 kB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.3869, allocations: 315.7 kB / 1.22 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.387, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.387, allocations: 15.98 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.387, allocations: 8.562 kB / 1.22 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.3874, allocations: 230 kB / 1.221 GB, free: 11.12 MB / 0.9825 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.00166/0.3891, allocations: 1.41 MB / 1.222 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3895, allocations: 222.8 kB / 1.222 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3896, allocations: 104.8 kB / 1.222 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3897, allocations: 4 kB / 1.222 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.39, allocations: 169.6 kB / 1.222 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.39, allocations: 4 kB / 1.222 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.002673/0.3926, allocations: 1.082 MB / 1.223 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3927, allocations: 59.34 kB / 1.223 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.3931, allocations: 461.9 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3932, allocations: 33.64 kB / 1.224 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3934, allocations: 248.2 kB / 1.224 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.3934, allocations: 94.64 kB / 1.224 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3936, allocations: 77.97 kB / 1.224 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3937, allocations: 354.8 kB / 1.225 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3939, allocations: 124.7 kB / 1.225 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.3941, allocations: 190.6 kB / 1.225 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3946, allocations: 303.9 kB / 1.225 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3946, allocations: 0 / 1.225 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009139/0.3955, allocations: 497.7 kB / 1.226 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3955, allocations: 7.984 kB / 1.226 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3955, allocations: 0 / 1.226 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.3959, allocations: 88.95 kB / 1.226 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3961, allocations: 55.92 kB / 1.226 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.3977, allocations: 1.737 MB / 1.228 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.398, allocations: 23.92 kB / 1.228 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.398, allocations: 16.06 kB / 1.228 GB, free: 3.371 MB / 0.9825 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.0001941/0.3982, allocations: 197.2 kB / 1.228 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.3983, allocations: 47.38 kB / 1.228 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.3984, allocations: 56.62 kB / 1.228 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3984, allocations: 4 kB / 1.228 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3984, allocations: 0 / 1.228 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3984, allocations: 3.984 kB / 1.228 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.3999, allocations: 0.9689 MB / 1.229 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3999, allocations: 3.938 kB / 1.229 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.4002, allocations: 63.97 kB / 1.229 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.4005, allocations: 76.78 kB / 1.229 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4006, allocations: 12 kB / 1.229 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.4018, allocations: 1.542 MB / 1.231 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4018, allocations: 3.938 kB / 1.231 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.4028, allocations: 0.5702 MB / 1.231 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.403, allocations: 152.5 kB / 1.231 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.403, allocations: 12 kB / 1.231 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.4034, allocations: 17.36 kB / 1.231 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4035, allocations: 19.97 kB / 1.231 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.4035, allocations: 12 kB / 1.231 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000304/0.4038, allocations: 311.1 kB / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4038, allocations: 0 / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004665/0.4043, allocations: 124 kB / 1.232 GB, free: 14.96 MB / 0.9981 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.002073/0.4064, allocations: 1.428 MB / 1.233 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006412/0.407, allocations: 422.9 kB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.407, allocations: 0 / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.4073, allocations: 258.5 kB / 1.234 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4084, allocations: 232.1 kB / 1.234 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.414, allocations: 4.317 MB / 1.238 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.4144, allocations: 0.862 MB / 1.239 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.4147, allocations: 88.33 kB / 1.239 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4149, allocations: 151.4 kB / 1.239 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.415, allocations: 3.938 kB / 1.239 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.307/3.722, allocations: 12.27 MB / 1.251 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/3.722, allocations: 256.4 kB / 1.251 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/5.77, allocations: 2.156 kB / 1.251 GB, free: 192.6 MB / 0.9981 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/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)