Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_10_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.001466/0.001466, 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.001688/0.001688, allocations: 190.1 kB / 16.25 MB, free: 6.621 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.8688 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.552, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003771/0.5558, allocations: 2.753 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.5585, allocations: 1.761 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.5587, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.5588, allocations: 35.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.5592, allocations: 131.1 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.56, allocations: 341.5 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.5605, allocations: 490.4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.5607, allocations: 153.1 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.5609, allocations: 175.3 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.5611, allocations: 179.2 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.5611, allocations: 28 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.5617, allocations: 455.4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.5618, allocations: 75.75 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.562, allocations: 191 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.5625, allocations: 0.5296 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5625, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5625, allocations: 3.938 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5625, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 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.0009619/0.5635, allocations: 0.6976 MB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5635, allocations: 23.97 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.5636, allocations: 62.73 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.5645, allocations: 116.2 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.5648, allocations: 311.4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5649, allocations: 24.97 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.5649, allocations: 32.38 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/0.5656, allocations: 318.1 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5656, allocations: 4 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.5657, allocations: 8 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5657, allocations: 8 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.5665, allocations: 290.4 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.568, allocations: 0.8967 MB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.5689, allocations: 294.4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.5693, allocations: 132.7 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.5694, allocations: 93.47 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.5695, allocations: 30.56 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.5695, allocations: 0 / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001262/0.5707, allocations: 391.1 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5708, allocations: 59.34 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.5711, allocations: 341.6 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.5711, allocations: 29.7 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5713, allocations: 184.6 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.5713, allocations: 82.77 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5715, allocations: 61.95 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5716, allocations: 346.8 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.5719, allocations: 100.5 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.5723, allocations: 113 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.573, allocations: 234.2 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.573, allocations: 3.938 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008843/0.5739, allocations: 336.9 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5739, allocations: 4 kB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5739, allocations: 0 / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5739, allocations: 4 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.5744, allocations: 79.86 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5744, allocations: 3.938 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.5747, allocations: 39.67 kB / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5747, allocations: 15.98 kB / 1.03 GB, free: 5.504 MB / 0.7794 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.0001368/0.5749, allocations: 138.3 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.575, allocations: 43.52 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.576, allocations: 373.1 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.576, allocations: 4 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.576, allocations: 0 / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.576, allocations: 3.938 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.5763, allocations: 357.2 kB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5763, allocations: 112 / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.5767, allocations: 63.83 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5767, allocations: 4 kB / 1.03 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5767, allocations: 7.984 kB / 1.03 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5767, allocations: 4 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5768, allocations: 0 / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.5775, allocations: 303 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.5777, allocations: 128.7 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.5777, allocations: 3.938 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.578, allocations: 23.98 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.5781, allocations: 11.97 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.5781, allocations: 15.94 kB / 1.031 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002246/0.5783, allocations: 251.2 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5783, allocations: 7.938 kB / 1.031 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003556/0.5787, allocations: 95.91 kB / 1.031 GB, free: 3.59 MB / 0.7794 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.001129/0.5798, allocations: 0.8678 MB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007919/0.5806, allocations: 255.9 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5806, allocations: 0 / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.581, allocations: 115.9 kB / 1.032 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.5816, allocations: 119.5 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.5864, allocations: 3.162 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5866, allocations: 0.7756 MB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003384/0.587, allocations: 78.81 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5872, allocations: 107.4 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.5872, allocations: 0 / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.6193, allocations: 8.343 MB / 1.045 GB, free: 5.828 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6195, allocations: 194.5 kB / 1.045 GB, free: 5.578 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.54, allocations: 3.938 kB / 1.045 GB, free: 5.574 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)