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 2.691/2.691, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001469/0.001469, allocations: 179 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001129/0.001129, allocations: 93.66 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 12.33 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.9418/1.171, allocations: 136.8 MB / 1.112 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007854/1.179, allocations: 3.247 MB / 1.115 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/1.18, allocations: 10.88 kB / 1.115 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/1.181, allocations: 282.5 kB / 1.115 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/1.186, allocations: 0.7941 MB / 1.116 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/1.188, allocations: 0.4952 MB / 1.117 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002157/1.191, allocations: 0.6437 MB / 1.117 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/1.191, allocations: 244.5 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/1.193, allocations: 322.8 kB / 1.118 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/1.193, allocations: 232.3 kB / 1.118 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.194, allocations: 14.53 kB / 1.118 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/1.195, allocations: 321.6 kB / 1.118 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/1.196, allocations: 129.2 kB / 1.118 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/1.196, allocations: 121.2 kB / 1.119 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/1.198, allocations: 0.6105 MB / 1.119 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.198, allocations: 0 / 1.119 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/1.198, allocations: 4 kB / 1.119 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.4e-05/1.198, allocations: 0 / 1.119 GB, free: 0.5977 MB / 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.002164/1.2, allocations: 0.7565 MB / 1.12 GB, free: 16.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.2, allocations: 15.42 kB / 1.12 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/1.2, allocations: 65.31 kB / 1.12 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/1.202, allocations: 149.5 kB / 1.12 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/1.203, allocations: 478.6 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/1.203, allocations: 26.45 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/1.203, allocations: 27.28 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/1.204, allocations: 319.7 kB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.204, allocations: 0.7969 kB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/1.205, allocations: 12.84 kB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/1.205, allocations: 14.56 kB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/1.205, allocations: 215.2 kB / 1.121 GB, free: 15.65 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.003211/1.208, allocations: 1.417 MB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/1.209, allocations: 223.9 kB / 1.123 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/1.209, allocations: 4.875 kB / 1.123 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/1.21, allocations: 156.4 kB / 1.123 GB, free: 14.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.517e-06/1.21, allocations: 0 / 1.123 GB, free: 14.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.005095/1.215, allocations: 1.164 MB / 1.124 GB, free: 14.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/1.215, allocations: 56.53 kB / 1.124 GB, free: 14.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/1.216, allocations: 453.2 kB / 1.124 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.216, allocations: 31.7 kB / 1.125 GB, free: 14.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/1.216, allocations: 233.9 kB / 1.125 GB, free: 14.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.216, allocations: 113 kB / 1.125 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/1.216, allocations: 5.875 kB / 1.125 GB, free: 13.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.217, allocations: 357.1 kB / 1.125 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/1.217, allocations: 131.2 kB / 1.125 GB, free: 13.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/1.217, allocations: 191.9 kB / 1.126 GB, free: 13.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/1.218, allocations: 165.6 kB / 1.126 GB, free: 13.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.218, allocations: 0 / 1.126 GB, free: 13.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001707/1.22, allocations: 493.1 kB / 1.126 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.22, allocations: 10.09 kB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.22, allocations: 1.156 kB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/1.22, allocations: 80.12 kB / 1.126 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/1.221, allocations: 76.05 kB / 1.126 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/1.224, allocations: 1.76 MB / 1.128 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/1.225, allocations: 31.09 kB / 1.128 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.225, allocations: 10.75 kB / 1.128 GB, free: 12.11 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.0004806/1.225, allocations: 197.6 kB / 1.128 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.225, allocations: 47.58 kB / 1.128 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/1.226, allocations: 56.08 kB / 1.128 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.226, allocations: 11.14 kB / 1.128 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.226, allocations: 1.859 kB / 1.128 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.226, allocations: 2.203 kB / 1.128 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/1.228, allocations: 1.006 MB / 1.129 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.228, allocations: 4.031 kB / 1.129 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/1.229, allocations: 68.28 kB / 1.129 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/1.23, allocations: 69.77 kB / 1.129 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/1.23, allocations: 12.8 kB / 1.129 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/1.232, allocations: 1.579 MB / 1.131 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.232, allocations: 0 / 1.131 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.234, allocations: 0.6006 MB / 1.132 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/1.235, allocations: 161.5 kB / 1.132 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.235, allocations: 12.41 kB / 1.132 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/1.235, allocations: 18.56 kB / 1.132 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.236, allocations: 25.34 kB / 1.132 GB, free: 9.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.236, allocations: 11.91 kB / 1.132 GB, free: 9.996 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000567/1.236, allocations: 303 kB / 1.132 GB, free: 9.914 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.236, allocations: 0 / 1.132 GB, free: 9.914 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008547/1.237, allocations: 122.1 kB / 1.132 GB, free: 9.914 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.003376/1.24, allocations: 1.541 MB / 1.134 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.242, allocations: 435.9 kB / 1.134 GB, free: 8.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.242, allocations: 6.031 kB / 1.134 GB, free: 8.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/1.242, allocations: 254.7 kB / 1.134 GB, free: 8.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.244, allocations: 220.3 kB / 1.135 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.249, allocations: 2.359 MB / 1.137 GB, free: 7.062 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/1.249, allocations: 0.8571 MB / 1.138 GB, free: 6.363 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007769/1.25, allocations: 82.89 kB / 1.138 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.251, allocations: 162.8 kB / 1.138 GB, free: 6.332 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/1.251, allocations: 4 kB / 1.138 GB, free: 6.328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/1.305, allocations: 12.58 MB / 1.15 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/1.306, allocations: 235.7 kB / 1.151 GB, free: 384 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/4.282, allocations: 1.859 kB / 1.151 GB, free: 384 kB / 0.698 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)