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.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.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.001421/0.001421, 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.001537/0.001537, allocations: 194.5 kB / 16.14 MB, free: 6.699 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.236/2.236, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.55, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002481/0.5525, allocations: 1.957 MB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.5533, allocations: 0.6315 MB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.5533, allocations: 2.75 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.5535, allocations: 50.88 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.5537, allocations: 64.02 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.5538, allocations: 62.33 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.5544, allocations: 0.7146 MB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.5544, allocations: 37.5 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.5546, allocations: 202.8 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.555, allocations: 269.9 kB / 0.9529 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.555, allocations: 28.81 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.5551, allocations: 25.22 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.5553, allocations: 163.1 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.5554, allocations: 183.8 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.5558, allocations: 496.7 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5558, allocations: 4.969 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.11e-07/0.5558, allocations: 0 / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5558, allocations: 0 / 0.9538 GB, free: 5.691 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001693/0.5575, allocations: 0.7585 MB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.5575, allocations: 13.88 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.5576, allocations: 55.2 kB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.5576, allocations: 38.47 kB / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.558, allocations: 301.1 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.558, allocations: 26.92 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.558, allocations: 27.88 kB / 0.955 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5583, allocations: 180.6 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.5583, allocations: 0 / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5583, allocations: 0 / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5583, allocations: 3.281 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.5585, allocations: 153.7 kB / 0.9553 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.5623, allocations: 1.306 MB / 0.9566 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5636, allocations: 468.2 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.5637, allocations: 113.2 kB / 0.9571 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5637, allocations: 2.75 kB / 0.9571 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.5638, allocations: 35.94 kB / 0.9571 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.183e-06/0.5638, allocations: 0 / 0.9571 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005496/0.5643, allocations: 364.4 kB / 0.9575 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.377e-05/0.5643, allocations: 52.72 kB / 0.9575 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.5646, allocations: 288.8 kB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.5646, allocations: 39.92 kB / 0.9579 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.5647, allocations: 137.2 kB / 0.958 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.5648, allocations: 71.8 kB / 0.9581 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.5649, allocations: 122.4 kB / 0.9582 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.565, allocations: 339.6 kB / 0.9585 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.5654, allocations: 265.3 kB / 0.9588 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.5659, allocations: 331.9 kB / 0.9591 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.5665, allocations: 447 kB / 0.9595 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5665, allocations: 0 / 0.9595 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001067/0.5676, allocations: 0.6833 MB / 0.9602 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5676, allocations: 6.969 kB / 0.9602 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5676, allocations: 1.25 kB / 0.9602 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5676, allocations: 2.594 kB / 0.9602 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.5683, allocations: 129.4 kB / 0.9603 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5684, allocations: 3.844 kB / 0.9603 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.5695, allocations: 90.22 kB / 0.9604 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.5695, allocations: 18.48 kB / 0.9604 GB, free: 1.207 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 (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.0001203/0.5697, allocations: 158.2 kB / 0.9606 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.5697, allocations: 24.78 kB / 0.9606 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.5698, allocations: 36.39 kB / 0.9606 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.5698, allocations: 2.219 kB / 0.9606 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5698, allocations: 1.406 kB / 0.9606 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5698, allocations: 3.938 kB / 0.9606 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5701, allocations: 428.5 kB / 0.961 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5701, allocations: 0 / 0.961 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.5704, allocations: 51 kB / 0.9611 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5704, allocations: 1.188 kB / 0.9611 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5704, allocations: 3.938 kB / 0.9611 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5704, allocations: 1.156 kB / 0.9611 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5704, allocations: 4 kB / 0.9611 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.571, allocations: 487.4 kB / 0.9616 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.571, allocations: 111.2 kB / 0.9617 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.5711, allocations: 12.02 kB / 0.9617 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.5716, allocations: 21.06 kB / 0.9617 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.5717, allocations: 17.41 kB / 0.9617 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5717, allocations: 11.64 kB / 0.9617 GB, free: 124 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001513/0.5718, allocations: 187.6 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5718, allocations: 1.125 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005432/0.5724, allocations: 204 kB / 0.9621 GB, free: 15.98 MB / 0.7325 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.0008641/0.5733, allocations: 1.028 MB / 0.9631 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007551/0.574, allocations: 457.7 kB / 0.9635 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.574, allocations: 0 / 0.9635 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.5742, allocations: 117.3 kB / 0.9636 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.5747, allocations: 56.73 kB / 0.9637 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.5803, allocations: 4.37 MB / 0.968 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.5806, allocations: 0.7771 MB / 0.9687 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002702/0.5808, allocations: 92.64 kB / 0.9688 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.581, allocations: 87.55 kB / 0.9689 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5811, allocations: 1.219 kB / 0.9689 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.572/2.153, allocations: 8.329 MB / 0.977 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/2.153, allocations: 210 kB / 0.9772 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/3.979, allocations: 0 / 0.9772 GB, free: 4.855 MB / 0.7325 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)