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.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001164/0.001164, allocations: 194.1 kB / 16.25 MB, free: 6.629 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.085/2.085, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.47, allocations: 140.4 MB / 0.9492 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1401/0.6101, allocations: 160.7 MB / 1.106 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.6147, allocations: 3.448 MB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.6151, allocations: 19.88 kB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.6158, allocations: 246.9 kB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.6175, allocations: 0.7937 MB / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.6184, allocations: 433.1 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.6195, allocations: 1.099 MB / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.62, allocations: 324.2 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.6205, allocations: 406.3 kB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/0.6213, allocations: 374.5 kB / 1.113 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.6214, allocations: 40 kB / 1.113 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.6224, allocations: 0.7209 MB / 1.114 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.6225, allocations: 175.4 kB / 1.114 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.6228, allocations: 270.7 kB / 1.114 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.6238, allocations: 0.9736 MB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6238, allocations: 0 / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6238, allocations: 0 / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.6238, allocations: 0 / 1.115 GB, free: 7.477 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.00122/0.625, allocations: 0.8641 MB / 1.116 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.6251, allocations: 12.03 kB / 1.116 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.6251, allocations: 70.53 kB / 1.116 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.6261, allocations: 151.2 kB / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.6267, allocations: 0.489 MB / 1.117 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6267, allocations: 20.56 kB / 1.117 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.6268, allocations: 31.98 kB / 1.117 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.6273, allocations: 319.7 kB / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6273, allocations: 11.84 kB / 1.117 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.6273, allocations: 8 kB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6274, allocations: 12.56 kB / 1.117 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.6277, allocations: 222.1 kB / 1.117 GB, free: 5.168 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.001625/0.6294, allocations: 1.41 MB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.6297, allocations: 227.3 kB / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.6299, allocations: 108.8 kB / 1.119 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6299, allocations: 7.984 kB / 1.119 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.6302, allocations: 161.2 kB / 1.119 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.6302, allocations: 0 / 1.119 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002522/0.6327, allocations: 1.086 MB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6328, allocations: 59.34 kB / 1.12 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.6332, allocations: 465.8 kB / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.6332, allocations: 33.7 kB / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6334, allocations: 228.3 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.6335, allocations: 110.5 kB / 1.121 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6336, allocations: 73.98 kB / 1.121 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6337, allocations: 358.8 kB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6339, allocations: 132.7 kB / 1.122 GB, free: 500 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.6341, allocations: 178.7 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.6346, allocations: 303.9 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6346, allocations: 4 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008735/0.6354, allocations: 485.9 kB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.6355, allocations: 11.94 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6355, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.6358, allocations: 80.8 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6361, allocations: 67.91 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.6376, allocations: 1.915 MB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.6379, allocations: 27.86 kB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.6379, allocations: 12 kB / 1.125 GB, free: 13.24 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.0001819/0.6381, allocations: 202 kB / 1.125 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.6382, allocations: 43.53 kB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.6383, allocations: 52.62 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.6383, allocations: 4 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6383, allocations: 0 / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6383, allocations: 3.984 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.6397, allocations: 0.9654 MB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6397, allocations: 0 / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.6401, allocations: 63.97 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.6404, allocations: 80.72 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6404, allocations: 19.92 kB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.6416, allocations: 1.641 MB / 1.128 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6416, allocations: 0 / 1.128 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.6425, allocations: 0.5782 MB / 1.128 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.6427, allocations: 148.6 kB / 1.128 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.6428, allocations: 11.98 kB / 1.128 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.6431, allocations: 15.94 kB / 1.128 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.6432, allocations: 27.91 kB / 1.128 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.6432, allocations: 11.98 kB / 1.128 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002877/0.6435, allocations: 311.1 kB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.183e-06/0.6435, allocations: 3.938 kB / 1.129 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004522/0.644, allocations: 127.9 kB / 1.129 GB, free: 8.703 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.001933/0.6459, allocations: 1.438 MB / 1.13 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006476/0.6466, allocations: 442.3 kB / 1.131 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6466, allocations: 0 / 1.131 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.6469, allocations: 259 kB / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.6479, allocations: 242 kB / 1.131 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.6533, allocations: 4.326 MB / 1.135 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.6537, allocations: 0.8541 MB / 1.136 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.654, allocations: 80.33 kB / 1.136 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.6542, allocations: 155.4 kB / 1.136 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of SimCode: time 3e-07/0.6542, allocations: 3.938 kB / 1.136 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.6994, allocations: 12.64 MB / 1.149 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.6996, allocations: 255.7 kB / 1.149 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.598, allocations: 3.938 kB / 1.149 GB, free: 4.234 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)