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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 169.2 kB / 498.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 96.38 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.5058, allocations: 151.7 MB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5061, allocations: 83.95 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02588/0.532, allocations: 6.901 MB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.532, allocations: 0 / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.5321, allocations: 8 kB / 1.378 GB, free: 3.301 MB / 0.8698 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.002103/0.5342, allocations: 0.717 MB / 1.379 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5343, allocations: 8.031 kB / 1.379 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.339e-05/0.5343, allocations: 50.42 kB / 1.379 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.5345, allocations: 31.67 kB / 1.379 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5357, allocations: 414.3 kB / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5357, allocations: 24.23 kB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.5358, allocations: 35.89 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.5362, allocations: 182.2 kB / 1.379 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5362, allocations: 3.984 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.5362, allocations: 4 kB / 1.379 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5362, allocations: 4 kB / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.5365, allocations: 148.5 kB / 1.379 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.5408, allocations: 1.323 MB / 1.381 GB, free: 216 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.5422, allocations: 462.2 kB / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.5423, allocations: 3.984 kB / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5423, allocations: 38.56 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/0.5423, allocations: 4 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0007504/0.5431, allocations: 354.9 kB / 1.382 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5431, allocations: 55.41 kB / 1.382 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.5434, allocations: 253.7 kB / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.5435, allocations: 33.7 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5436, allocations: 140.9 kB / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.5437, allocations: 78.91 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.5438, allocations: 4 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5439, allocations: 338.8 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.5444, allocations: 269 kB / 1.383 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.5449, allocations: 316.6 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.5454, allocations: 307.2 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5454, allocations: 3.953 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001203/0.5466, allocations: 0.6782 MB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5467, allocations: 4 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5467, allocations: 4 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5467, allocations: 0 / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.5475, allocations: 131.8 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5475, allocations: 7.875 kB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5488, allocations: 87.39 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.5488, allocations: 15.98 kB / 1.384 GB, free: 12.6 MB / 0.8855 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.0001889/0.549, allocations: 161.8 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.5491, allocations: 27.58 kB / 1.384 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.5492, allocations: 26.19 kB / 1.384 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5492, allocations: 4 kB / 1.384 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5492, allocations: 0 / 1.384 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5492, allocations: 0 / 1.384 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.5497, allocations: 425.1 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5497, allocations: 3.953 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.55, allocations: 43.91 kB / 1.385 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.55, allocations: 3.984 kB / 1.385 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.55, allocations: 8 kB / 1.385 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5501, allocations: 4 kB / 1.385 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5501, allocations: 4 kB / 1.385 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.5507, allocations: 489.5 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.5508, allocations: 108.7 kB / 1.385 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.5509, allocations: 11.98 kB / 1.385 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.5515, allocations: 23.97 kB / 1.385 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.5515, allocations: 15.92 kB / 1.385 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5515, allocations: 4 kB / 1.385 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001638/0.5517, allocations: 193.9 kB / 1.386 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-07/0.5517, allocations: 0 / 1.386 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005886/0.5523, allocations: 207.9 kB / 1.386 GB, free: 10.79 MB / 0.8855 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.0009904/0.5533, allocations: 1.038 MB / 1.387 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000771/0.5541, allocations: 447.1 kB / 1.387 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5541, allocations: 0 / 1.387 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.5543, allocations: 120.9 kB / 1.387 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.5547, allocations: 56.48 kB / 1.387 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.5568, allocations: 1.476 MB / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.5572, allocations: 0.7797 MB / 1.39 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.5575, allocations: 86.2 kB / 1.39 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.5577, allocations: 91.39 kB / 1.39 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.5577, allocations: 0 / 1.39 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.5816, allocations: 8.231 MB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.5818, allocations: 184.6 kB / 1.398 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.778, allocations: 4 kB / 1.398 GB, free: 14.31 MB / 0.9011 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