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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.161/1.161, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.345/2.345, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5093, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003505/0.5129, allocations: 2.713 MB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.5155, allocations: 1.761 MB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.5157, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.911e-05/0.5159, allocations: 47.45 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.5163, allocations: 154.8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.517, allocations: 382.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.5175, allocations: 482.5 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.5178, allocations: 145.1 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.518, allocations: 175.3 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.5182, allocations: 183.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5183, allocations: 28 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.5188, allocations: 455.4 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.5189, allocations: 75.75 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.5191, allocations: 191 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.5196, allocations: 0.5335 MB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5196, allocations: 0 / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5196, allocations: 0 / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5196, allocations: 0 / 1.025 GB, free: 11.22 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.000917/0.5205, allocations: 0.7015 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5206, allocations: 15.98 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.5206, allocations: 66.72 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.5215, allocations: 124.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5218, allocations: 295.5 kB / 1.026 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5218, allocations: 25.03 kB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.5219, allocations: 40.3 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.5225, allocations: 314.1 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5225, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.5226, allocations: 12 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.5226, allocations: 8 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.5233, allocations: 286.4 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.5247, allocations: 0.9084 MB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.5256, allocations: 299.5 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.526, allocations: 124.8 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.5261, allocations: 89.48 kB / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.5261, allocations: 38.56 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.5262, allocations: 0 / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001169/0.5273, allocations: 382.5 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.5274, allocations: 63.34 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.5276, allocations: 341.6 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.5277, allocations: 37.64 kB / 1.029 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.5278, allocations: 184.6 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.5278, allocations: 82.75 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.5279, allocations: 65.95 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.528, allocations: 342.8 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.5284, allocations: 104.5 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.5287, allocations: 105 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.5294, allocations: 238.2 kB / 1.03 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5294, allocations: 0 / 1.03 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008357/0.5302, allocations: 332.9 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5303, allocations: 13.72 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5303, allocations: 4 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5303, allocations: 0 / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5307, allocations: 75.88 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5307, allocations: 7.938 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.5309, allocations: 39.66 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.531, allocations: 15.98 kB / 1.03 GB, free: 5.27 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.0001185/0.5311, allocations: 137.8 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5312, allocations: 43.47 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.5321, allocations: 367.2 kB / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5322, allocations: 4 kB / 1.031 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5322, allocations: 0 / 1.031 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5322, allocations: 7.938 kB / 1.031 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.5325, allocations: 353.2 kB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5325, allocations: 112 / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.5328, allocations: 67.81 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5328, allocations: 0 / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.5328, allocations: 3.984 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5328, allocations: 4 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5328, allocations: 0 / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.5336, allocations: 300.4 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5337, allocations: 128.7 kB / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.5338, allocations: 11.94 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.534, allocations: 15.97 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.5341, allocations: 11.98 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.5341, allocations: 15.92 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002075/0.5343, allocations: 247.2 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5343, allocations: 4 kB / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003083/0.5346, allocations: 103.9 kB / 1.032 GB, free: 3.371 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.001061/0.5357, allocations: 0.8617 MB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.5365, allocations: 261.9 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5365, allocations: 0 / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.5368, allocations: 115.8 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.5374, allocations: 119.1 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.5417, allocations: 3.065 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.542, allocations: 0.7756 MB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002913/0.5423, allocations: 74.8 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5424, allocations: 115.4 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5424, allocations: 0 / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3421/0.8845, allocations: 8.482 MB / 1.045 GB, free: 5.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.898, allocations: 13.12 kB / 1.045 GB, free: 5.508 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)