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.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.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.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001378/0.001379, allocations: 191 kB / 16.25 MB, free: 6.637 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.237/2.237, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5639, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003098/0.567, allocations: 2.736 MB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.5692, allocations: 1.755 MB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.5694, allocations: 4.938 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.5696, allocations: 35.23 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.57, allocations: 123.1 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.5708, allocations: 339.7 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.5712, allocations: 491.5 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.5714, allocations: 149.3 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.5717, allocations: 175.1 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.5719, allocations: 185.5 kB / 0.955 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.5719, allocations: 30.09 kB / 0.9551 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.5724, allocations: 450.2 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.5725, allocations: 82.94 kB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.5726, allocations: 186.9 kB / 0.9558 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.5731, allocations: 0.5251 MB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5731, allocations: 1.219 kB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5731, allocations: 0 / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5731, allocations: 0 / 0.9563 GB, free: 3.883 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.000853/0.574, allocations: 0.7181 MB / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.574, allocations: 9.344 kB / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.5741, allocations: 68.72 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.5749, allocations: 117.2 kB / 0.9572 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.5751, allocations: 301.8 kB / 0.9575 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5752, allocations: 29.59 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.5752, allocations: 28.47 kB / 0.9575 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.5758, allocations: 315.9 kB / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5758, allocations: 0 / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.5759, allocations: 10.75 kB / 0.9578 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5759, allocations: 10.88 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.5766, allocations: 293.4 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.5779, allocations: 0.9045 MB / 0.959 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.5787, allocations: 300.8 kB / 0.9593 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.579, allocations: 129.8 kB / 0.9594 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.5791, allocations: 91.25 kB / 0.9595 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.5792, allocations: 32.44 kB / 0.9595 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.5792, allocations: 0 / 0.9595 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001097/0.5803, allocations: 383.7 kB / 0.9599 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.5803, allocations: 57.62 kB / 0.9599 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.5806, allocations: 346.5 kB / 0.9603 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.5806, allocations: 34.73 kB / 0.9603 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.5807, allocations: 186 kB / 0.9605 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.5807, allocations: 88.31 kB / 0.9606 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.5808, allocations: 64.52 kB / 0.9606 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.5809, allocations: 341.4 kB / 0.961 GB, free: 216 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.5812, allocations: 108.1 kB / 0.9611 GB, free: 164 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.5815, allocations: 105.5 kB / 0.9612 GB, free: 116 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.5821, allocations: 231.3 kB / 0.9614 GB, free: 0 / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5821, allocations: 48 / 0.9614 GB, free: 16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008357/0.583, allocations: 327.8 kB / 0.9617 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.583, allocations: 13.52 kB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.583, allocations: 0 / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.583, allocations: 2.562 kB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.5834, allocations: 72.19 kB / 0.9618 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5834, allocations: 10.48 kB / 0.9618 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.5837, allocations: 50.22 kB / 0.9618 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.5837, allocations: 15.36 kB / 0.9618 GB, free: 15.75 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.0001206/0.5838, allocations: 137.5 kB / 0.962 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5839, allocations: 36.88 kB / 0.962 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.5848, allocations: 371.7 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5848, allocations: 2.312 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5849, allocations: 5.062 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5849, allocations: 3.938 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.5852, allocations: 349.7 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5852, allocations: 4 kB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.5855, allocations: 52.59 kB / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5855, allocations: 1.094 kB / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5855, allocations: 10.45 kB / 0.9628 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5855, allocations: 1.062 kB / 0.9628 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5856, allocations: 5.281 kB / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.5863, allocations: 303.2 kB / 0.9631 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5864, allocations: 128.4 kB / 0.9632 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.5865, allocations: 1.062 kB / 0.9632 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.5867, allocations: 22.97 kB / 0.9632 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5868, allocations: 13.77 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.5868, allocations: 20.2 kB / 0.9633 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002165/0.587, allocations: 251.5 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.587, allocations: 0 / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003361/0.5874, allocations: 107.1 kB / 0.9636 GB, free: 14.45 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.001029/0.5884, allocations: 0.8583 MB / 0.9644 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007118/0.5891, allocations: 254.7 kB / 0.9647 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5891, allocations: 4 kB / 0.9647 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.5895, allocations: 111.5 kB / 0.9648 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.59, allocations: 121.9 kB / 0.9649 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.5945, allocations: 3.172 MB / 0.968 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.5948, allocations: 0.7762 MB / 0.9688 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.5951, allocations: 73.08 kB / 0.9688 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5953, allocations: 111.7 kB / 0.9689 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5953, allocations: 1.312 kB / 0.9689 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9494/1.545, allocations: 8.348 MB / 0.9771 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.545, allocations: 204.2 kB / 0.9773 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/3.706, allocations: 0 / 0.9773 GB, free: 4.938 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)