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.0009368/0.0009371, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005086/0.005086, allocations: 173.7 kB / 16.27 MB, free: 6.656 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.023/2.023, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002649, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4722, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.001344/0.4736, allocations: 1.612 MB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000657/0.4743, allocations: 0.6189 MB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.4743, allocations: 2.438 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.4745, allocations: 55.8 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.4747, allocations: 63.17 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.4748, allocations: 71.02 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006564/0.4755, allocations: 0.7074 MB / 0.9582 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.4756, allocations: 36.86 kB / 0.9582 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.4759, allocations: 208.3 kB / 0.9584 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.4764, allocations: 263.5 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.4765, allocations: 23.38 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.4765, allocations: 23.38 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.4768, allocations: 167.6 kB / 0.9589 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.477, allocations: 213.6 kB / 0.9591 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.4775, allocations: 480.1 kB / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4775, allocations: 2.156 kB / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4775, allocations: 0 / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4775, allocations: 0 / 0.9596 GB, free: 4.457 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.002074/0.4796, allocations: 0.7275 MB / 0.9603 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4796, allocations: 9 kB / 0.9603 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.4797, allocations: 43.72 kB / 0.9603 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.4798, allocations: 38.16 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.48, allocations: 321 kB / 0.9607 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4801, allocations: 27.36 kB / 0.9607 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.4801, allocations: 27.22 kB / 0.9607 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4804, allocations: 177.8 kB / 0.9609 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.4804, allocations: 0 / 0.9609 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4804, allocations: 6.312 kB / 0.9609 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4804, allocations: 1.875 kB / 0.9609 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.4806, allocations: 141.6 kB / 0.961 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.4842, allocations: 1.354 MB / 0.9623 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4853, allocations: 470.3 kB / 0.9628 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4855, allocations: 114.8 kB / 0.9629 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4855, allocations: 2.469 kB / 0.9629 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.4855, allocations: 35.84 kB / 0.9629 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.4855, allocations: 0 / 0.9629 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005145/0.486, allocations: 366.9 kB / 0.9633 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.486, allocations: 53.53 kB / 0.9633 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4862, allocations: 288.4 kB / 0.9636 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.4863, allocations: 39.64 kB / 0.9637 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.4863, allocations: 137.3 kB / 0.9638 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4864, allocations: 75.75 kB / 0.9639 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.4865, allocations: 71.17 kB / 0.9639 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.4865, allocations: 342.8 kB / 0.9643 GB, free: 1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.4869, allocations: 268.1 kB / 0.9645 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.4873, allocations: 320.8 kB / 0.9648 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.4878, allocations: 443.2 kB / 0.9652 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4879, allocations: 7.953 kB / 0.9652 GB, free: 500 kB / 0.7169 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009276/0.4888, allocations: 0.6953 MB / 0.9659 GB, free: 136 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4888, allocations: 5.969 kB / 0.9659 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4888, allocations: 3.938 kB / 0.9659 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4888, allocations: 3.031 kB / 0.9659 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.4895, allocations: 127 kB / 0.9661 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4895, allocations: 2.031 kB / 0.9661 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4907, allocations: 92.94 kB / 0.9661 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.4907, allocations: 19.58 kB / 0.9662 GB, free: 24 kB / 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.0001532/0.4909, allocations: 162.3 kB / 0.9663 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4909, allocations: 23.78 kB / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.491, allocations: 33.16 kB / 0.9664 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.491, allocations: 6.094 kB / 0.9664 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.491, allocations: 1 kB / 0.9664 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.491, allocations: 0 / 0.9664 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.4914, allocations: 432.8 kB / 0.9668 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4914, allocations: 0 / 0.9668 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.4916, allocations: 44.47 kB / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4916, allocations: 1 kB / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4917, allocations: 7.969 kB / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4917, allocations: 1.031 kB / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.4917, allocations: 0 / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.4922, allocations: 0.4915 MB / 0.9673 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.4923, allocations: 111.1 kB / 0.9674 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.4923, allocations: 7.953 kB / 0.9674 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.4929, allocations: 25.12 kB / 0.9675 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.4929, allocations: 14.05 kB / 0.9675 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.493, allocations: 12.02 kB / 0.9675 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001406/0.4931, allocations: 187.9 kB / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4931, allocations: 0 / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004639/0.4936, allocations: 200.1 kB / 0.9679 GB, free: 14.79 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.0007465/0.4943, allocations: 1.03 MB / 0.9689 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.495, allocations: 464.4 kB / 0.9693 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.495, allocations: 9.406 kB / 0.9693 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.4952, allocations: 117.9 kB / 0.9694 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.4956, allocations: 57.39 kB / 0.9695 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.5004, allocations: 4.514 MB / 0.9739 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.5007, allocations: 0.7654 MB / 0.9746 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.5009, allocations: 89.61 kB / 0.9747 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5011, allocations: 83.8 kB / 0.9748 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.5011, allocations: 4 kB / 0.9748 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.62/4.121, allocations: 8.184 MB / 0.9828 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004894/4.121, allocations: 217.6 kB / 0.983 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/7.163, allocations: 0 / 0.983 GB, free: 2.465 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)