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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00169/0.00169, allocations: 195 kB / 16.14 MB, free: 6.648 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.88 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4899, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003404/0.4934, allocations: 2.749 MB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.496, allocations: 1.816 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.4962, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.4963, allocations: 35.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.4967, allocations: 122.6 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.4973, allocations: 299.4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.4978, allocations: 470.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.498, allocations: 131.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4981, allocations: 175.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4983, allocations: 175.1 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.4983, allocations: 20 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.4989, allocations: 439.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.499, allocations: 67.69 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4991, allocations: 183 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.4996, allocations: 0.5218 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4996, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4996, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.4996, allocations: 0 / 1.024 GB, free: 11.58 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.0008914/0.5005, allocations: 0.7053 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5006, allocations: 8.031 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.5006, allocations: 70.72 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.5014, allocations: 120.3 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5017, allocations: 307.4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5018, allocations: 25.03 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.5018, allocations: 28.38 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.5025, allocations: 318.1 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5025, allocations: 0 / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.5025, allocations: 20 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5025, allocations: 4 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.5033, allocations: 290.3 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.5047, allocations: 0.9006 MB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.5055, allocations: 298.4 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.5059, allocations: 128.7 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.506, allocations: 93.47 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.506, allocations: 34.56 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.506, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001141/0.5072, allocations: 379.2 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.5072, allocations: 67.34 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.5075, allocations: 337.6 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.5075, allocations: 33.64 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5076, allocations: 188.6 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.5077, allocations: 78.77 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.5078, allocations: 65.95 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.5079, allocations: 342.8 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.5082, allocations: 108.4 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.5085, allocations: 105 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.5092, allocations: 241.7 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5092, allocations: 0 / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000818/0.51, allocations: 333.5 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.51, allocations: 8 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5101, allocations: 0 / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5101, allocations: 0 / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.5105, allocations: 79.86 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5105, allocations: 7.938 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.5108, allocations: 43.67 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.5108, allocations: 7.984 kB / 1.029 GB, free: 5.633 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.0001263/0.5109, allocations: 142.3 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.511, allocations: 39.53 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.5119, allocations: 371.5 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5119, allocations: 4 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.512, allocations: 0 / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.512, allocations: 3.938 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.5123, allocations: 361.2 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5123, allocations: 112 / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.5126, allocations: 55.89 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5126, allocations: 0 / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.5126, allocations: 7.984 kB / 1.03 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5126, allocations: 8 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5126, allocations: 0 / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.5134, allocations: 300.4 kB / 1.03 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.5135, allocations: 132.6 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.5135, allocations: 8 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.5138, allocations: 11.98 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.5138, allocations: 23.97 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.5139, allocations: 7.938 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002087/0.5141, allocations: 255.2 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5141, allocations: 0 / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002973/0.5144, allocations: 103.8 kB / 1.031 GB, free: 3.723 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.001029/0.5154, allocations: 0.8666 MB / 1.032 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.5161, allocations: 243.7 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5161, allocations: 4 kB / 1.032 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.5165, allocations: 107.9 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.517, allocations: 120.4 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.5213, allocations: 3.166 MB / 1.035 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.5216, allocations: 0.7795 MB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.5218, allocations: 70.81 kB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.522, allocations: 111.4 kB / 1.036 GB, free: 14.13 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.522, allocations: 0 / 1.036 GB, free: 14.13 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/2.195, allocations: 8.129 MB / 1.044 GB, free: 6.156 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/2.195, allocations: 201 kB / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/4.925, allocations: 0 / 1.044 GB, free: 5.902 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)