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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001701/0.001701, allocations: 198.2 kB / 16.14 MB, free: 6.652 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.602, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003081/0.6051, allocations: 2.743 MB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.6074, allocations: 1.8 MB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.6075, allocations: 4.312 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.6076, allocations: 31.73 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.608, allocations: 135.8 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.6085, allocations: 297.9 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.6089, allocations: 473.9 kB / 0.9544 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.6091, allocations: 129 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.6093, allocations: 165.8 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.6094, allocations: 173.9 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.6095, allocations: 20.59 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.61, allocations: 441.9 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.6101, allocations: 67.58 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.6102, allocations: 183 kB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.6107, allocations: 0.5173 MB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6107, allocations: 3.5 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6107, allocations: 4 kB / 0.956 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6107, allocations: 0 / 0.956 GB, free: 3.816 MB / 0.7169 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.0008542/0.6115, allocations: 0.7119 MB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6116, allocations: 9.469 kB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.6116, allocations: 72.91 kB / 0.9568 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/0.6125, allocations: 117.2 kB / 0.9569 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.6128, allocations: 300.8 kB / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6128, allocations: 29.62 kB / 0.9572 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.6128, allocations: 29.88 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.6135, allocations: 318.9 kB / 0.9575 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6135, allocations: 0 / 0.9575 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.6135, allocations: 10.75 kB / 0.9576 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.6136, allocations: 8.25 kB / 0.9576 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.6143, allocations: 293.2 kB / 0.9578 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.6157, allocations: 0.8997 MB / 0.9587 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.6166, allocations: 294.1 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.6169, allocations: 134.3 kB / 0.9591 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.617, allocations: 91.39 kB / 0.9592 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.6171, allocations: 36.42 kB / 0.9593 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.6171, allocations: 0 / 0.9593 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001206/0.6183, allocations: 383.2 kB / 0.9596 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.6183, allocations: 57.5 kB / 0.9597 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.6186, allocations: 342.4 kB / 0.96 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6187, allocations: 30.91 kB / 0.96 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.6187, allocations: 189.8 kB / 0.9602 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.6188, allocations: 88.42 kB / 0.9603 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.6189, allocations: 63.92 kB / 0.9604 GB, free: 496 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.619, allocations: 343.2 kB / 0.9607 GB, free: 152 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.6193, allocations: 103 kB / 0.9608 GB, free: 104 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.6197, allocations: 113.2 kB / 0.9609 GB, free: 48 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.6204, allocations: 234.6 kB / 0.9611 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6204, allocations: 5 kB / 0.9611 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009038/0.6213, allocations: 323.6 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6213, allocations: 5.281 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6213, allocations: 0 / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6213, allocations: 2.656 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.6218, allocations: 75.17 kB / 0.9615 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6218, allocations: 5.312 kB / 0.9615 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.6221, allocations: 48.3 kB / 0.9616 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.6221, allocations: 14.36 kB / 0.9616 GB, free: 15.69 MB / 0.7325 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.0001437/0.6223, allocations: 143 kB / 0.9617 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6224, allocations: 37.34 kB / 0.9617 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.6234, allocations: 367.5 kB / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6234, allocations: 2.906 kB / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6235, allocations: 0 / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.6235, allocations: 7.922 kB / 0.9621 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.6238, allocations: 350 kB / 0.9624 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6238, allocations: 0 / 0.9624 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.6242, allocations: 52.47 kB / 0.9625 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6242, allocations: 5.562 kB / 0.9625 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.6242, allocations: 6.438 kB / 0.9625 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6242, allocations: 4.828 kB / 0.9625 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6242, allocations: 0 / 0.9625 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.625, allocations: 303.7 kB / 0.9628 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.6252, allocations: 131.7 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.6252, allocations: 6.156 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.6255, allocations: 26.84 kB / 0.9629 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.6256, allocations: 9.422 kB / 0.963 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.6256, allocations: 17.39 kB / 0.963 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002386/0.6259, allocations: 255.4 kB / 0.9632 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6259, allocations: 0 / 0.9632 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003912/0.6263, allocations: 99.22 kB / 0.9633 GB, free: 14.4 MB / 0.7325 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.001233/0.6275, allocations: 0.8595 MB / 0.9642 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007609/0.6283, allocations: 249.2 kB / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6283, allocations: 0 / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.6287, allocations: 107.4 kB / 0.9645 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.6293, allocations: 121 kB / 0.9646 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.6353, allocations: 3.175 MB / 0.9677 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.6357, allocations: 0.7745 MB / 0.9685 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.6361, allocations: 75.33 kB / 0.9685 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.6363, allocations: 109 kB / 0.9686 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.6363, allocations: 4 kB / 0.9686 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.6701, allocations: 8.141 MB / 0.9766 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.6703, allocations: 201 kB / 0.9768 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.955, allocations: 0 / 0.9768 GB, free: 5.285 MB / 0.7325 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)