Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.538/1.538, allocations: 287.4 MB / 302.6 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009351/0.0009352, allocations: 183.7 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000875/0.0008749, allocations: 97.97 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.000417, allocations: 13.94 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6526/0.8912, allocations: 147.9 MB / 1.123 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005106/0.8964, allocations: 3.11 MB / 1.126 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.897, allocations: 18 kB / 1.126 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.8978, allocations: 201.4 kB / 1.126 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.8997, allocations: 0.6313 MB / 1.127 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.9007, allocations: 313.3 kB / 1.127 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.9021, allocations: 1.179 MB / 1.128 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.9024, allocations: 269.8 kB / 1.129 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.903, allocations: 339 kB / 1.129 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.9034, allocations: 321.5 kB / 1.129 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.9035, allocations: 14.25 kB / 1.129 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000867/0.9044, allocations: 369 kB / 1.13 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.9045, allocations: 137.2 kB / 1.13 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.9047, allocations: 123.4 kB / 1.13 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.9054, allocations: 0.6395 MB / 1.131 GB, free: 176 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9054, allocations: 0 / 1.131 GB, free: 176 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9054, allocations: 0 / 1.131 GB, free: 176 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9054, allocations: 0 / 1.131 GB, free: 176 kB / 0.6823 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.00124/0.9066, allocations: 0.7684 MB / 1.131 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.9067, allocations: 12.52 kB / 1.131 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.364e-05/0.9068, allocations: 64.41 kB / 1.131 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.9077, allocations: 154.4 kB / 1.132 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.9084, allocations: 488.8 kB / 1.132 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.9084, allocations: 17.94 kB / 1.132 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.9085, allocations: 31 kB / 1.132 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.9091, allocations: 316.5 kB / 1.132 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.9091, allocations: 3.938 kB / 1.132 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.9091, allocations: 20.19 kB / 1.132 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.9092, allocations: 12.03 kB / 1.132 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.9095, allocations: 213.7 kB / 1.133 GB, free: 15.2 MB / 0.698 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.001777/0.9113, allocations: 1.422 MB / 1.134 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.9117, allocations: 216.8 kB / 1.134 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.9119, allocations: 109.8 kB / 1.134 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.9119, allocations: 7.312 kB / 1.134 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.9122, allocations: 161.4 kB / 1.135 GB, free: 14.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.9122, allocations: 0 / 1.135 GB, free: 14.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.002658/0.9149, allocations: 1.158 MB / 1.136 GB, free: 13.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.915, allocations: 66.53 kB / 1.136 GB, free: 13.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.9155, allocations: 455.6 kB / 1.136 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.9155, allocations: 34.64 kB / 1.136 GB, free: 13.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.9157, allocations: 230.1 kB / 1.136 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.9158, allocations: 110.5 kB / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.9158, allocations: 6.75 kB / 1.136 GB, free: 13.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9159, allocations: 353.7 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.9161, allocations: 132.7 kB / 1.137 GB, free: 13.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.9164, allocations: 198.7 kB / 1.137 GB, free: 13.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.9168, allocations: 316.8 kB / 1.137 GB, free: 13.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9169, allocations: 0 / 1.137 GB, free: 13.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000932/0.9178, allocations: 498.3 kB / 1.138 GB, free: 12.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9178, allocations: 8.469 kB / 1.138 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9178, allocations: 6.75 kB / 1.138 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.9182, allocations: 77.38 kB / 1.138 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.9185, allocations: 69.69 kB / 1.138 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.9202, allocations: 1.748 MB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.9206, allocations: 28.8 kB / 1.14 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.9206, allocations: 20.19 kB / 1.14 GB, free: 11.59 MB / 0.698 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 (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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.9209, allocations: 193.6 kB / 1.14 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.921, allocations: 53.84 kB / 1.14 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.9211, allocations: 51.31 kB / 1.14 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.9211, allocations: 2.781 kB / 1.14 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.9211, allocations: 5.438 kB / 1.14 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9211, allocations: 1.969 kB / 1.14 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.9227, allocations: 1.01 MB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9227, allocations: 1.859 kB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.9231, allocations: 75.38 kB / 1.141 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.9234, allocations: 73.89 kB / 1.141 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.9234, allocations: 9.812 kB / 1.141 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.9248, allocations: 1.56 MB / 1.143 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9248, allocations: 1.031 kB / 1.143 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.9258, allocations: 0.584 MB / 1.143 GB, free: 9.625 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.926, allocations: 155.6 kB / 1.144 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.9261, allocations: 12.5 kB / 1.144 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.9264, allocations: 18.34 kB / 1.144 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.9265, allocations: 25.5 kB / 1.144 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.9266, allocations: 18.03 kB / 1.144 GB, free: 9.496 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003475/0.9269, allocations: 298.9 kB / 1.144 GB, free: 9.414 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9269, allocations: 0 / 1.144 GB, free: 9.414 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005223/0.9274, allocations: 124.6 kB / 1.144 GB, free: 9.414 MB / 0.698 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 (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.002192/0.9296, allocations: 1.467 MB / 1.145 GB, free: 8.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.9304, allocations: 439.1 kB / 1.146 GB, free: 8.465 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9304, allocations: 0 / 1.146 GB, free: 8.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.9307, allocations: 254.7 kB / 1.146 GB, free: 8.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.9318, allocations: 228.6 kB / 1.146 GB, free: 8.316 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.9367, allocations: 3.014 MB / 1.149 GB, free: 7.109 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.9371, allocations: 0.8551 MB / 1.15 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004218/0.9376, allocations: 87.39 kB / 1.15 GB, free: 6.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.9378, allocations: 154.1 kB / 1.15 GB, free: 6.285 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.9378, allocations: 0 / 1.15 GB, free: 6.285 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.446/2.383, allocations: 12.82 MB / 1.163 GB, free: 124 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/2.384, allocations: 241.9 kB / 1.163 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/5.289, allocations: 0 / 1.163 GB, free: 15.88 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)