Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",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.0008708/0.0008708, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005405/0.005405, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.9 MB / 0.6664 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003297, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5292, allocations: 142.4 MB / 0.9552 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002049/0.5313, allocations: 2.374 MB / 0.9575 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.5332, allocations: 1.774 MB / 0.9592 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.5334, allocations: 4.781 kB / 0.9592 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.5334, allocations: 31.33 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.5338, allocations: 132.9 kB / 0.9594 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.5342, allocations: 301 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.5346, allocations: 466.5 kB / 0.9601 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.5348, allocations: 131.8 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.535, allocations: 157.4 kB / 0.9604 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.5351, allocations: 153 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.5352, allocations: 15.12 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.5357, allocations: 436.2 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.5357, allocations: 60.06 kB / 0.961 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.5358, allocations: 197.5 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.5363, allocations: 0.5151 MB / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5363, allocations: 0 / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5363, allocations: 0 / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5363, allocations: 5.062 kB / 0.9617 GB, free: 2.625 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000737/0.537, allocations: 0.6452 MB / 0.9623 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5371, allocations: 17.06 kB / 0.9623 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.5371, allocations: 67.88 kB / 0.9624 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/0.5379, allocations: 117.8 kB / 0.9625 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.5381, allocations: 301.3 kB / 0.9628 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5382, allocations: 22.41 kB / 0.9628 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.5382, allocations: 32.06 kB / 0.9629 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.5388, allocations: 324.9 kB / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5388, allocations: 0 / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.5389, allocations: 11.06 kB / 0.9632 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.5389, allocations: 7.156 kB / 0.9632 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.5396, allocations: 299.2 kB / 0.9635 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5409, allocations: 0.9061 MB / 0.9644 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.5417, allocations: 302.7 kB / 0.9647 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.542, allocations: 143.9 kB / 0.9648 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.5422, allocations: 87.69 kB / 0.9649 GB, free: 196 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.5422, allocations: 34.5 kB / 0.9649 GB, free: 152 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.5422, allocations: 0 / 0.9649 GB, free: 152 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001152/0.5433, allocations: 401.8 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.5434, allocations: 62.02 kB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.5437, allocations: 338.3 kB / 0.9657 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5437, allocations: 31.02 kB / 0.9657 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5439, allocations: 193.4 kB / 0.9659 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.5439, allocations: 88.88 kB / 0.966 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.544, allocations: 29.45 kB / 0.966 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5441, allocations: 342.1 kB / 0.9663 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.5444, allocations: 112.1 kB / 0.9664 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.5448, allocations: 107 kB / 0.9665 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.5455, allocations: 252.2 kB / 0.9668 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5455, allocations: 1.031 kB / 0.9668 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000868/0.5464, allocations: 333.1 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5464, allocations: 7.25 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5464, allocations: 3.984 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.5464, allocations: 2.125 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5468, allocations: 81.78 kB / 0.9672 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5468, allocations: 5.75 kB / 0.9672 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.5471, allocations: 49.78 kB / 0.9672 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.5471, allocations: 11.02 kB / 0.9672 GB, free: 14.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.5473, allocations: 145.9 kB / 0.9674 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.5474, allocations: 37.77 kB / 0.9674 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009417/0.5483, allocations: 381.2 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5484, allocations: 6.469 kB / 0.9678 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5484, allocations: 0 / 0.9678 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5484, allocations: 4.688 kB / 0.9678 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.5487, allocations: 345.7 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5487, allocations: 0 / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.549, allocations: 63.28 kB / 0.9682 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.549, allocations: 1.031 kB / 0.9682 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.549, allocations: 5.953 kB / 0.9682 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.549, allocations: 8.969 kB / 0.9682 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5491, allocations: 1 kB / 0.9682 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.5498, allocations: 309.2 kB / 0.9685 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.55, allocations: 145.4 kB / 0.9686 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.55, allocations: 1 kB / 0.9686 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.5503, allocations: 29.12 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.5503, allocations: 14.08 kB / 0.9687 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.5504, allocations: 12.45 kB / 0.9687 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002269/0.5506, allocations: 251 kB / 0.9689 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5506, allocations: 3.938 kB / 0.9689 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003102/0.5509, allocations: 99.97 kB / 0.969 GB, free: 13.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.552, allocations: 0.8739 MB / 0.9699 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.5527, allocations: 259.2 kB / 0.9701 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5527, allocations: 0 / 0.9701 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.5531, allocations: 112.7 kB / 0.9702 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.5537, allocations: 109.3 kB / 0.9703 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.5583, allocations: 3.231 MB / 0.9735 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.5586, allocations: 0.7768 MB / 0.9743 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.5589, allocations: 67.89 kB / 0.9743 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.559, allocations: 108.6 kB / 0.9744 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.5591, allocations: 0 / 0.9744 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.883/3.442, allocations: 8.038 MB / 0.9823 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/3.443, allocations: 192.4 kB / 0.9825 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/5.473, allocations: 3.938 kB / 0.9825 GB, free: 2.988 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)