Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_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.001337/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.78 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.242, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003579/0.2456, allocations: 2.743 MB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.2484, allocations: 1.815 MB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2486, allocations: 8 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2487, allocations: 27.7 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.2491, allocations: 131.1 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.2498, allocations: 302 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.2503, allocations: 466.4 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2506, allocations: 133.4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.2508, allocations: 171.3 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.251, allocations: 179.1 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.251, allocations: 20 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.2516, allocations: 435.5 kB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.2517, allocations: 71.62 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2519, allocations: 187 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.2524, allocations: 0.514 MB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2524, allocations: 0 / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2524, allocations: 4 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2524, allocations: 3.938 kB / 1.059 GB, free: 1.004 MB / 0.8106 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.0009983/0.2534, allocations: 0.703 MB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2535, allocations: 15.97 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.2536, allocations: 66.72 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.2545, allocations: 116.3 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.2548, allocations: 311.4 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2548, allocations: 21.03 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.2549, allocations: 32.38 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.2556, allocations: 322 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2556, allocations: 4 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.2557, allocations: 8 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2557, allocations: 8 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.2565, allocations: 286.4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.2581, allocations: 0.9007 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.259, allocations: 294.5 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.2593, allocations: 132.7 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.2595, allocations: 93.48 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2595, allocations: 30.56 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2595, allocations: 0 / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001246/0.2608, allocations: 389.6 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2608, allocations: 59.34 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.2611, allocations: 341.5 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2612, allocations: 29.7 kB / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2613, allocations: 188.6 kB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.2614, allocations: 82.81 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2615, allocations: 57.95 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2616, allocations: 350.8 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.2619, allocations: 104.4 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.2623, allocations: 105 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.263, allocations: 227 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.263, allocations: 0 / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008763/0.2639, allocations: 341.1 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2639, allocations: 5.406 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2639, allocations: 4.109 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2639, allocations: 3.938 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.2643, allocations: 75.88 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2643, allocations: 3.938 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2646, allocations: 51.59 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2647, allocations: 11.98 kB / 1.065 GB, free: 11.05 MB / 0.8262 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.0001353/0.2648, allocations: 142.7 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.2649, allocations: 39.53 kB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.2659, allocations: 374 kB / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2659, allocations: 4 kB / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.266, allocations: 0 / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.266, allocations: 3.938 kB / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2663, allocations: 357.2 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2663, allocations: 0 / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.2666, allocations: 47.95 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2667, allocations: 11.94 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2667, allocations: 7.984 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2667, allocations: 4 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2667, allocations: 0 / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.2675, allocations: 294.3 kB / 1.066 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2676, allocations: 136.6 kB / 1.066 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.2677, allocations: 4 kB / 1.066 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.2679, allocations: 23.98 kB / 1.066 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.268, allocations: 7.984 kB / 1.066 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.268, allocations: 15.92 kB / 1.066 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002357/0.2683, allocations: 251.2 kB / 1.066 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2683, allocations: 0 / 1.066 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003432/0.2686, allocations: 103.8 kB / 1.066 GB, free: 9.152 MB / 0.8262 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.00113/0.2697, allocations: 0.8618 MB / 1.067 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.2705, allocations: 242 kB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2705, allocations: 0 / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.2709, allocations: 111.9 kB / 1.068 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.2715, allocations: 108.7 kB / 1.068 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.2763, allocations: 3.169 MB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2766, allocations: 0.7756 MB / 1.072 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000324/0.2769, allocations: 74.81 kB / 1.072 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2771, allocations: 111.4 kB / 1.072 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2771, allocations: 4 kB / 1.072 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/0.6132, allocations: 8.131 MB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.6134, allocations: 211.3 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.607, allocations: 0 / 1.08 GB, free: 11.34 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)