Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.00523/0.00523, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001046/0.001046, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.9504 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6283, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002328/0.6307, allocations: 1.904 MB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.6315, allocations: 0.6345 MB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.6316, allocations: 3.406 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.6318, allocations: 69.14 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.632, allocations: 73.23 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.6321, allocations: 66.69 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.6327, allocations: 0.6855 MB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.6328, allocations: 38.66 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.6331, allocations: 229.3 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.6334, allocations: 277.1 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.6335, allocations: 45.47 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.6336, allocations: 52 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.6338, allocations: 180.9 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.634, allocations: 217.7 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.6345, allocations: 0.5019 MB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6345, allocations: 0 / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6345, allocations: 1.062 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.6345, allocations: 0 / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00177/0.6363, allocations: 0.7616 MB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6363, allocations: 10.16 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.6364, allocations: 45.84 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.6365, allocations: 34.69 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.6369, allocations: 312.8 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6369, allocations: 30.7 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.637, allocations: 28.36 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.6373, allocations: 178 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6373, allocations: 0.9688 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.6373, allocations: 4.875 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6373, allocations: 2.625 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.6376, allocations: 144.5 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.6416, allocations: 1.306 MB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.6429, allocations: 473.4 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.6431, allocations: 112.3 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.6431, allocations: 2.438 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.6431, allocations: 35.62 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/0.6431, allocations: 4 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005951/0.6437, allocations: 355.3 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.6437, allocations: 52.62 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.644, allocations: 288.8 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.644, allocations: 36.42 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.6441, allocations: 140.3 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.6442, allocations: 70.77 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.6444, allocations: 119.1 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.6444, allocations: 343.7 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.6449, allocations: 274.5 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.6454, allocations: 320.7 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.646, allocations: 437 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6461, allocations: 0 / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001141/0.6472, allocations: 0.7012 MB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6472, allocations: 5.531 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6472, allocations: 1.219 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6473, allocations: 6.344 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/0.6479, allocations: 125.4 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.648, allocations: 6.234 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6492, allocations: 91.97 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.6493, allocations: 13.72 kB / 1.099 GB, free: 15.21 MB / 0.8731 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 (61): * Single equations (assignments): 61 * 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.0001584/0.6494, allocations: 167.1 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.6495, allocations: 24.8 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.6496, allocations: 26.06 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.6496, allocations: 3.766 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6496, allocations: 0 / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6496, allocations: 1.219 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.65, allocations: 421.6 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.65, allocations: 5.125 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.6503, allocations: 46.67 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6503, allocations: 5.906 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.6503, allocations: 8.328 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6503, allocations: 2.188 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6503, allocations: 0 / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.651, allocations: 486.6 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.651, allocations: 111.2 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.6511, allocations: 13.33 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.6517, allocations: 22.75 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.6517, allocations: 14.17 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.6517, allocations: 4.25 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001888/0.6519, allocations: 190.5 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.6519, allocations: 0.6562 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005738/0.6525, allocations: 204.9 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0008033/0.6533, allocations: 1.023 MB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.654, allocations: 461.6 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.654, allocations: 7.938 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.6542, allocations: 115.1 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.6547, allocations: 53.12 kB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.6597, allocations: 4.336 MB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.66, allocations: 0.7683 MB / 1.107 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.6602, allocations: 88.14 kB / 1.107 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.6604, allocations: 88.28 kB / 1.107 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.6604, allocations: 0 / 1.107 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.573/2.233, allocations: 8.874 MB / 1.116 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.241/11.47, allocations: 8.969 kB / 1.116 GB, free: 9.285 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)