Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_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.001073/0.001073, 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.001066/0.001066, allocations: 194.3 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.443/2.443, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 69.11 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2129, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002745/0.2157, allocations: 1.979 MB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.2167, allocations: 0.6352 MB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2168, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.2171, allocations: 55.67 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2173, allocations: 63.66 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2175, allocations: 71.91 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.2181, allocations: 0.7135 MB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.2182, allocations: 21.06 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.2185, allocations: 203.6 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.2189, allocations: 283.3 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.219, allocations: 24 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.219, allocations: 24 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2192, allocations: 159.6 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.2194, allocations: 191.2 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.2198, allocations: 490.9 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2198, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2198, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2199, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 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.001898/0.2218, allocations: 0.7639 MB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2218, allocations: 15.97 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.2219, allocations: 50.73 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.222, allocations: 32.56 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.2223, allocations: 304.2 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2224, allocations: 28.11 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.2224, allocations: 35.98 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.2227, allocations: 171.4 kB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.2227, allocations: 0 / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2227, allocations: 4 kB / 1.058 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2228, allocations: 8 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.223, allocations: 144.6 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.2269, allocations: 1.304 MB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2282, allocations: 470.2 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.2284, allocations: 116.8 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.2284, allocations: 0 / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2284, allocations: 34.5 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.2284, allocations: 0 / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0005665/0.229, allocations: 359 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.229, allocations: 51.41 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.2292, allocations: 294.5 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2293, allocations: 33.7 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.2294, allocations: 136.8 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.2295, allocations: 78.91 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.2296, allocations: 118.2 kB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.2297, allocations: 334.8 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2301, allocations: 269 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.2306, allocations: 332.5 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.2312, allocations: 442.6 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2312, allocations: 0 / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00101/0.2322, allocations: 0.6899 MB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2322, allocations: 5.094 kB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2322, allocations: 4 kB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.2323, allocations: 0 / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.2329, allocations: 135.8 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.233, allocations: 0 / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2341, allocations: 87.38 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.2341, allocations: 19.98 kB / 1.064 GB, free: 12.29 MB / 0.8262 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.0001332/0.2343, allocations: 157.8 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2343, allocations: 31.56 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.2344, allocations: 26.19 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2344, allocations: 4 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2344, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2344, allocations: 7.984 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2348, allocations: 425.1 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2348, allocations: 0 / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.235, allocations: 47.84 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.235, allocations: 0 / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.235, allocations: 8 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.235, allocations: 4 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.235, allocations: 3.984 kB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.2356, allocations: 495.9 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.2357, allocations: 108.8 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.2357, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.2362, allocations: 39.8 kB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2363, allocations: 7.984 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2363, allocations: 8 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001404/0.2364, allocations: 193.9 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2365, allocations: 0 / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004807/0.2369, allocations: 196 kB / 1.065 GB, free: 10.46 MB / 0.8262 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.0007447/0.2377, allocations: 1.022 MB / 1.066 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.2384, allocations: 464.5 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2384, allocations: 0 / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.2385, allocations: 123.7 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.239, allocations: 56.53 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.2438, allocations: 4.376 MB / 1.071 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.244, allocations: 0.768 MB / 1.072 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.2443, allocations: 94.2 kB / 1.072 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.2445, allocations: 87.39 kB / 1.072 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2445, allocations: 0 / 1.072 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.746/2.991, allocations: 8.344 MB / 1.08 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/2.991, allocations: 213 kB / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/5.416, allocations: 3.953 kB / 1.08 GB, free: 10.92 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)