Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.0007913/0.0007914, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008181/0.0008184, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7572, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002038/0.7593, allocations: 1.529 MB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.7605, allocations: 0.6684 MB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.7606, allocations: 2.219 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.7607, allocations: 12.86 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.761, allocations: 43.97 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.7612, allocations: 54.48 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.7614, allocations: 118.4 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.7616, allocations: 31.16 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.7617, allocations: 41.73 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.7618, allocations: 50.52 kB / 0.9563 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.7619, allocations: 4.094 kB / 0.9563 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.7619, allocations: 12.16 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.762, allocations: 15.86 kB / 0.9564 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.762, allocations: 42.3 kB / 0.9564 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.7621, allocations: 79.94 kB / 0.9565 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7621, allocations: 1.188 kB / 0.9565 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7622, allocations: 3.984 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7622, allocations: 0 / 0.9565 GB, free: 6.039 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005213/0.7627, allocations: 401 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7627, allocations: 10.09 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.7628, allocations: 41.27 kB / 0.9569 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.7628, allocations: 12.95 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.763, allocations: 201.7 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.763, allocations: 3.031 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.7631, allocations: 12.12 kB / 0.9571 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.7633, allocations: 89.41 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7633, allocations: 0 / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7633, allocations: 5.188 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7634, allocations: 6.266 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.7636, allocations: 75.41 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.7641, allocations: 372.6 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.7643, allocations: 65.08 kB / 0.9577 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.7644, allocations: 32.23 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.7644, allocations: 0.875 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.7644, allocations: 35.58 kB / 0.9578 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7644, allocations: 4 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003366/0.7648, allocations: 105.7 kB / 0.9579 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.7648, allocations: 56.31 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.7649, allocations: 160.6 kB / 0.9581 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.7649, allocations: 25.7 kB / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.765, allocations: 113.5 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.765, allocations: 9.031 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.765, allocations: 3.938 kB / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.7651, allocations: 325.7 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.7652, allocations: 26.86 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.7652, allocations: 24.39 kB / 0.9586 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.7653, allocations: 28.12 kB / 0.9586 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7653, allocations: 1.812 kB / 0.9586 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001855/0.7655, allocations: 93.22 kB / 0.9587 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.7656, allocations: 89.91 kB / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7656, allocations: 1.25 kB / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7656, allocations: 0 / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.7657, allocations: 23.33 kB / 0.9588 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7657, allocations: 3.953 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.7658, allocations: 11.61 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.7658, allocations: 1.031 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/0.7658, allocations: 5.344 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001584/0.7659, allocations: 59.62 kB / 0.9589 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.766, allocations: 3.984 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-06/0.766, allocations: 0 / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.766, allocations: 11.84 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/0.766, allocations: 0 / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.7661, allocations: 15.08 kB / 0.9589 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.7661, allocations: 1.469 kB / 0.9589 GB, free: 3.793 MB / 0.7169 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.7662, allocations: 200.6 kB / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.7662, allocations: 7.719 kB / 0.9591 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.7664, allocations: 93.58 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7664, allocations: 4.875 kB / 0.9592 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7664, allocations: 0 / 0.9592 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.7664, allocations: 5.062 kB / 0.9592 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.7666, allocations: 189.4 kB / 0.9594 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7666, allocations: 3.953 kB / 0.9594 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.7667, allocations: 17.52 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7667, allocations: 1.125 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.7667, allocations: 0 / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7667, allocations: 1.125 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7667, allocations: 0 / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.7669, allocations: 186.6 kB / 0.9596 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.767, allocations: 103.6 kB / 0.9597 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.767, allocations: 1.281 kB / 0.9597 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.7671, allocations: 14.27 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.7671, allocations: 1.531 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.7671, allocations: 1.031 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.7672, allocations: 118.2 kB / 0.9599 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7672, allocations: 0 / 0.9599 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002963/0.7675, allocations: 35.41 kB / 0.9599 GB, free: 2.898 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004308/0.7679, allocations: 0.7258 MB / 0.9606 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.7682, allocations: 85.53 kB / 0.9607 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7682, allocations: 1.562 kB / 0.9607 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.7683, allocations: 28.39 kB / 0.9607 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.7687, allocations: 38.22 kB / 0.9607 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.7696, allocations: 0.659 MB / 0.9614 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.7698, allocations: 0.697 MB / 0.9621 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.7698, allocations: 9.922 kB / 0.9621 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.7699, allocations: 30.28 kB / 0.9621 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7699, allocations: 5.312 kB / 0.9621 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.7818, allocations: 2.347 MB / 0.9644 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.782, allocations: 210.1 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.5, allocations: 3.938 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat