Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_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.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5464, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1691/0.7155, allocations: 162.9 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005591/0.7211, allocations: 3.481 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.7217, allocations: 19.88 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.7226, allocations: 278.5 kB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.7246, allocations: 0.8516 MB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.7257, allocations: 482.1 kB / 1.114 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.727, allocations: 1.091 MB / 1.115 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.7274, allocations: 328.2 kB / 1.115 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.7279, allocations: 410.3 kB / 1.116 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.7287, allocations: 348.1 kB / 1.116 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/0.7288, allocations: 40 kB / 1.116 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.73, allocations: 0.6976 MB / 1.117 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.7302, allocations: 163.5 kB / 1.117 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.7304, allocations: 274.7 kB / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.7315, allocations: 0.9192 MB / 1.118 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7316, allocations: 12 kB / 1.118 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7316, allocations: 0 / 1.118 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7316, allocations: 0 / 1.118 GB, free: 4.941 MB / 0.8731 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.00131/0.7329, allocations: 0.8641 MB / 1.119 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7329, allocations: 12.03 kB / 1.119 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.473e-05/0.733, allocations: 62.53 kB / 1.119 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7341, allocations: 151.2 kB / 1.119 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.7348, allocations: 0.489 MB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.7348, allocations: 20.56 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.7349, allocations: 32 kB / 1.12 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.7355, allocations: 323.6 kB / 1.12 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7355, allocations: 7.906 kB / 1.12 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.7355, allocations: 12 kB / 1.12 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.7356, allocations: 12.56 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.736, allocations: 218.1 kB / 1.12 GB, free: 2.641 MB / 0.8731 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.001964/0.738, allocations: 1.422 MB / 1.121 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.7384, allocations: 214.8 kB / 1.122 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.7386, allocations: 108.8 kB / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.7386, allocations: 0 / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.7389, allocations: 177.1 kB / 1.122 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.7389, allocations: 0 / 1.122 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002919/0.7418, allocations: 1.087 MB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.7419, allocations: 59.34 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.7424, allocations: 461.8 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.7425, allocations: 37.7 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.7426, allocations: 236.3 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.7427, allocations: 98.55 kB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7429, allocations: 81.97 kB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.743, allocations: 354.8 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.7432, allocations: 120.7 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.7435, allocations: 190.7 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.744, allocations: 303.8 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7441, allocations: 0 / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001016/0.7451, allocations: 489.9 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7451, allocations: 4 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7451, allocations: 4 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.7455, allocations: 92.89 kB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.7458, allocations: 63.91 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.7476, allocations: 1.915 MB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.7479, allocations: 15.94 kB / 1.127 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.748, allocations: 8 kB / 1.127 GB, free: 10.71 MB / 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 ($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.0002237/0.7482, allocations: 198 kB / 1.128 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.7483, allocations: 51.47 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.7484, allocations: 52.61 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7484, allocations: 4 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7484, allocations: 0 / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7484, allocations: 4.062 kB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.75, allocations: 0.9648 MB / 1.129 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.75, allocations: 0 / 1.129 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.7504, allocations: 67.89 kB / 1.129 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/0.7508, allocations: 76.92 kB / 1.129 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.7508, allocations: 19.92 kB / 1.129 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.7523, allocations: 1.644 MB / 1.13 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7523, allocations: 4.062 kB / 1.13 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.7534, allocations: 0.5665 MB / 1.131 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.7535, allocations: 148.8 kB / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.7536, allocations: 12 kB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.754, allocations: 19.92 kB / 1.131 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.754, allocations: 15.97 kB / 1.131 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.7541, allocations: 15.98 kB / 1.131 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003371/0.7544, allocations: 311.1 kB / 1.131 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7544, allocations: 3.938 kB / 1.131 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005129/0.7549, allocations: 124 kB / 1.132 GB, free: 6.184 MB / 0.8887 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.002263/0.7572, allocations: 1.45 MB / 1.133 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007772/0.758, allocations: 438.3 kB / 1.133 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.758, allocations: 0 / 1.133 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.7584, allocations: 246.9 kB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7596, allocations: 239.2 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.7654, allocations: 4.183 MB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.7658, allocations: 0.8658 MB / 1.139 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.7662, allocations: 84.33 kB / 1.139 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.7664, allocations: 151.4 kB / 1.139 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.7664, allocations: 0 / 1.139 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.8001, allocations: 12.75 MB / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.077/9.877, allocations: 19.33 kB / 1.151 GB, free: 1.965 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)