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.008997/0.008997, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001949/0.001949, allocations: 199 kB / 16.67 MB, free: 5.52 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.19/1.19, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.93/1.93, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 67.84 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6049, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002793/0.6077, allocations: 2.699 MB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.6099, allocations: 1.749 MB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.61, allocations: 8.25 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.141e-05/0.6101, allocations: 43.38 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.6104, allocations: 159 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.6111, allocations: 390.7 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.6116, allocations: 490.7 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.6118, allocations: 141 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.612, allocations: 174 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.6122, allocations: 178.2 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.6122, allocations: 33 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.6129, allocations: 457.3 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.6129, allocations: 75.77 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.6131, allocations: 191.8 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.6136, allocations: 0.5408 MB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6137, allocations: 0.8125 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6137, allocations: 0.5625 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6137, allocations: 0.75 kB / 1.095 GB, free: 0.8867 MB / 0.8575 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.000868/0.6145, allocations: 0.7077 MB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6146, allocations: 9.859 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.6147, allocations: 63.92 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007975/0.6155, allocations: 121 kB / 1.095 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.6158, allocations: 311.1 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6159, allocations: 21.56 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.6159, allocations: 28.86 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.6166, allocations: 318.9 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6166, allocations: 0 / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.6167, allocations: 15.59 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6167, allocations: 11.06 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.6175, allocations: 284.1 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.619, allocations: 0.9004 MB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008895/0.6199, allocations: 295.4 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.6203, allocations: 131.8 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.6204, allocations: 95.3 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.6205, allocations: 36.44 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.262e-06/0.6205, allocations: 0 / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.001244/0.6217, allocations: 389.2 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.6218, allocations: 59.02 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.6221, allocations: 335 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.6222, allocations: 30.7 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.6223, allocations: 185.5 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.6224, allocations: 79.81 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6225, allocations: 71.75 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6226, allocations: 341 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.6229, allocations: 108.6 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.6233, allocations: 107.1 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.624, allocations: 237.9 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.624, allocations: 0 / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009063/0.6249, allocations: 331.2 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.625, allocations: 4.969 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.625, allocations: 0 / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.625, allocations: 2.188 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.6254, allocations: 81.7 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6254, allocations: 2.188 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.6257, allocations: 48.64 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.6257, allocations: 11.02 kB / 1.1 GB, free: 13.57 MB / 0.8731 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.0001367/0.6259, allocations: 145.7 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.626, allocations: 33.28 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.627, allocations: 383.8 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.627, allocations: 2.156 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.627, allocations: 1.094 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.627, allocations: 5.391 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.6274, allocations: 354.6 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6274, allocations: 1.125 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.6277, allocations: 55.56 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6277, allocations: 1.125 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.6277, allocations: 8.797 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6277, allocations: 1.094 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6278, allocations: 8.766 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.6285, allocations: 302 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6287, allocations: 130.2 kB / 1.101 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.6287, allocations: 9.719 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.629, allocations: 14.98 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.629, allocations: 23.05 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.6291, allocations: 7.422 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002419/0.6293, allocations: 251.7 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6293, allocations: 0 / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003938/0.6297, allocations: 97.72 kB / 1.102 GB, free: 12.51 MB / 0.8731 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.001198/0.6309, allocations: 0.8718 MB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007517/0.6317, allocations: 241.8 kB / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6317, allocations: 0 / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.632, allocations: 113.8 kB / 1.103 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.6326, allocations: 114.3 kB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.6371, allocations: 3.025 MB / 1.106 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.6373, allocations: 0.7754 MB / 1.107 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002702/0.6376, allocations: 73.53 kB / 1.107 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6378, allocations: 112.4 kB / 1.107 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.6378, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.15/10.79, allocations: 8.594 MB / 1.115 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/22.55, allocations: 1.406 kB / 1.115 GB, free: 8.27 MB / 0.8731 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)