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.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.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.001199/0.001199, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.94 MB, free: 228 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.42/2.42, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.000344, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7527, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.001821/0.7546, allocations: 1.512 MB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.7554, allocations: 0.5951 MB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.7555, allocations: 10.22 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.7558, allocations: 50.83 kB / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.7559, allocations: 54.72 kB / 0.9557 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.7561, allocations: 50.34 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.7565, allocations: 406.6 kB / 0.9562 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7566, allocations: 29.41 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.7569, allocations: 193.8 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.7572, allocations: 235.5 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.7572, allocations: 23.41 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.7573, allocations: 24.5 kB / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.7575, allocations: 149.9 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.7576, allocations: 82.86 kB / 0.9569 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.7579, allocations: 367.8 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7579, allocations: 4 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7579, allocations: 3.938 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7579, allocations: 5.688 kB / 0.9572 GB, free: 5.383 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.001911/0.7598, allocations: 0.7256 MB / 0.958 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7598, allocations: 8.688 kB / 0.958 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.7599, allocations: 48.17 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.76, allocations: 33.58 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.7605, allocations: 306.9 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.7606, allocations: 18.67 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.7607, allocations: 33.25 kB / 0.9584 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.761, allocations: 176.6 kB / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.761, allocations: 0 / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.761, allocations: 5.344 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.761, allocations: 10.91 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.7613, allocations: 148.8 kB / 0.9587 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.7655, allocations: 1.346 MB / 0.96 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.7668, allocations: 463.2 kB / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.7669, allocations: 6 kB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.7669, allocations: 39.53 kB / 0.9605 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.7669, allocations: 0 / 0.9605 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0006809/0.7676, allocations: 352.6 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7676, allocations: 53.62 kB / 0.9609 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.7679, allocations: 290 kB / 0.9612 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.7679, allocations: 40.69 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.768, allocations: 132 kB / 0.9613 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.7681, allocations: 76.66 kB / 0.9614 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.7682, allocations: 10.69 kB / 0.9614 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.7682, allocations: 342.5 kB / 0.9617 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.7687, allocations: 270.6 kB / 0.962 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.7692, allocations: 321.5 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.7697, allocations: 309.3 kB / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7697, allocations: 0 / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001109/0.7708, allocations: 0.6822 MB / 0.9633 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7708, allocations: 6.25 kB / 0.9633 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7708, allocations: 8.016 kB / 0.9633 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7709, allocations: 3.281 kB / 0.9633 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.7716, allocations: 130.9 kB / 0.9634 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.7716, allocations: 1.812 kB / 0.9634 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7729, allocations: 89.66 kB / 0.9635 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.773, allocations: 22.89 kB / 0.9635 GB, free: 1.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.7731, allocations: 166.4 kB / 0.9637 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.7732, allocations: 19.84 kB / 0.9637 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.7732, allocations: 33.33 kB / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.7732, allocations: 2.344 kB / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7732, allocations: 0 / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7733, allocations: 0 / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.7736, allocations: 433.7 kB / 0.9642 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7736, allocations: 0 / 0.9642 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.7739, allocations: 51.81 kB / 0.9642 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7739, allocations: 0.9688 kB / 0.9642 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.7739, allocations: 4.375 kB / 0.9642 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7739, allocations: 4 kB / 0.9642 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.7739, allocations: 1.188 kB / 0.9642 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.7746, allocations: 0.4886 MB / 0.9647 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.7747, allocations: 110.8 kB / 0.9648 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.7747, allocations: 12.02 kB / 0.9648 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.7753, allocations: 21.72 kB / 0.9648 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.7753, allocations: 13.06 kB / 0.9648 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7753, allocations: 7.406 kB / 0.9648 GB, free: 60 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002112/0.7756, allocations: 187.1 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7756, allocations: 4 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006397/0.7762, allocations: 203.8 kB / 0.9652 GB, free: 15.91 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 (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.001027/0.7772, allocations: 1.03 MB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008476/0.7781, allocations: 461 kB / 0.9667 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7781, allocations: 5 kB / 0.9667 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7783, allocations: 113.9 kB / 0.9668 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.7787, allocations: 62.08 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.781, allocations: 1.463 MB / 0.9683 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.7815, allocations: 0.7781 MB / 0.969 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.7819, allocations: 88.52 kB / 0.9691 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.7821, allocations: 88.98 kB / 0.9692 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7821, allocations: 0 / 0.9692 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.8047, allocations: 8.082 MB / 0.9771 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.8049, allocations: 194 kB / 0.9773 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.673, allocations: 0 / 0.9773 GB, free: 7.582 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat does not exist to compare? outputFormat=mat