Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_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.001272/0.001271, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001877/0.001877, allocations: 172.7 kB / 15.95 MB, free: 208 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.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.000531, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8253, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002031/0.8274, allocations: 1.529 MB / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.8285, allocations: 0.6629 MB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.8286, allocations: 4 kB / 0.9833 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.8286, allocations: 15.8 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.8289, allocations: 47.75 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.829, allocations: 51.88 kB / 0.9834 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.8293, allocations: 119.4 kB / 0.9835 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8294, allocations: 33.36 kB / 0.9835 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.8295, allocations: 35.84 kB / 0.9836 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.8296, allocations: 43.84 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.8296, allocations: 8 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.8297, allocations: 16 kB / 0.9836 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.8297, allocations: 15.92 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.8298, allocations: 41.64 kB / 0.9837 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.8299, allocations: 82.17 kB / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8299, allocations: 0 / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8299, allocations: 0 / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.8299, allocations: 0 / 0.9838 GB, free: 3.523 MB / 0.7325 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.0005091/0.8304, allocations: 403 kB / 0.9842 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.8305, allocations: 8.031 kB / 0.9842 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.8305, allocations: 46.48 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.8306, allocations: 7.906 kB / 0.9842 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.8308, allocations: 194.8 kB / 0.9844 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8308, allocations: 7.984 kB / 0.9844 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.8308, allocations: 8 kB / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.831, allocations: 102.6 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8311, allocations: 3.938 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8311, allocations: 4 kB / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.8311, allocations: 4 kB / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.8313, allocations: 71.94 kB / 0.9846 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.8318, allocations: 368.5 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.832, allocations: 62.55 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.8321, allocations: 28.91 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.8322, allocations: 0 / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.8322, allocations: 38.48 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.8322, allocations: 3.938 kB / 0.9851 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003406/0.8325, allocations: 117.6 kB / 0.9852 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.8326, allocations: 51.41 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8327, allocations: 156.5 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.8327, allocations: 25.7 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.8328, allocations: 123.9 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.8328, allocations: 7.844 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.8328, allocations: 0 / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.833, allocations: 322.8 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.8331, allocations: 19.98 kB / 0.9859 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.8331, allocations: 31.98 kB / 0.9859 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.186e-05/0.8332, allocations: 27.97 kB / 0.9859 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8332, allocations: 0 / 0.9859 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002025/0.8334, allocations: 97.5 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.8335, allocations: 92.95 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8335, allocations: 0 / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.8335, allocations: 0 / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.8336, allocations: 15.98 kB / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8336, allocations: 3.984 kB / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.8337, allocations: 15.91 kB / 0.9861 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.8337, allocations: 3.984 kB / 0.9861 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.8337, allocations: 4 kB / 0.9861 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001628/0.8339, allocations: 55.91 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.8339, allocations: 0 / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-06/0.8339, allocations: 7.984 kB / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.834, allocations: 16 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.834, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.8341, allocations: 11.98 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.8341, allocations: 0 / 0.9862 GB, free: 0.7695 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 (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 0.0001097/0.8342, allocations: 193.1 kB / 0.9864 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.8342, allocations: 11.91 kB / 0.9864 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.8345, allocations: 97.83 kB / 0.9865 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8345, allocations: 0 / 0.9865 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8345, allocations: 0 / 0.9865 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.8345, allocations: 4 kB / 0.9865 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.8347, allocations: 205.5 kB / 0.9867 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8347, allocations: 0 / 0.9867 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.8348, allocations: 15.92 kB / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8348, allocations: 0 / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.8348, allocations: 0 / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8348, allocations: 0 / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8348, allocations: 4 kB / 0.9867 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.8351, allocations: 183.8 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.8351, allocations: 93 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.8352, allocations: 0 / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.8353, allocations: 11.98 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.8353, allocations: 48 / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.8353, allocations: 7.984 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.16e-05/0.8354, allocations: 130.3 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8354, allocations: 0 / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002904/0.8357, allocations: 35.91 kB / 0.9872 GB, free: 15.7 MB / 0.7481 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.0005592/0.8363, allocations: 0.7202 MB / 0.9879 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.8366, allocations: 91.88 kB / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8366, allocations: 0 / 0.988 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.8367, allocations: 19.98 kB / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.837, allocations: 29.11 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.8381, allocations: 0.6743 MB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.8384, allocations: 0.6965 MB / 0.9894 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.8385, allocations: 8.375 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.8385, allocations: 27.42 kB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.8385, allocations: 0 / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.8506, allocations: 2.349 MB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.8508, allocations: 223.2 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.596, allocations: 0 / 0.9919 GB, free: 10.93 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat