Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000949/0.0009488, allocations: 90.47 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.521e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5788/0.739, allocations: 144.6 MB / 1.027 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.7393, allocations: 79.45 kB / 1.027 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08808/0.8273, allocations: 27.52 MB / 1.053 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8274, allocations: 4 kB / 1.053 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.787e-05/0.8275, allocations: 12.75 kB / 1.053 GB, free: 2.645 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001466/0.8289, allocations: 0.827 MB / 1.054 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.829, allocations: 12.03 kB / 1.054 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.8294, allocations: 71.16 kB / 1.054 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.8316, allocations: 1.23 MB / 1.056 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.8317, allocations: 8 kB / 1.056 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.8317, allocations: 24 kB / 1.056 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003371/0.8321, allocations: 203.3 kB / 1.056 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.8326, allocations: 330.5 kB / 1.056 GB, free: 292 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.8326, allocations: 3.984 kB / 1.056 GB, free: 288 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.8326, allocations: 0 / 1.056 GB, free: 288 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.8327, allocations: 8 kB / 1.056 GB, free: 280 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.8352, allocations: 2.015 MB / 1.058 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.8361, allocations: 386.9 kB / 1.058 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.8363, allocations: 121.3 kB / 1.059 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.8363, allocations: 7.938 kB / 1.059 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8364, allocations: 30.56 kB / 1.059 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.8364, allocations: 0 / 1.059 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006473/0.837, allocations: 322.4 kB / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8371, allocations: 51.41 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.8383, allocations: 0.8699 MB / 1.06 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.8384, allocations: 29.64 kB / 1.06 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.8386, allocations: 296.7 kB / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.8387, allocations: 62.14 kB / 1.06 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.8388, allocations: 0 / 1.06 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.839, allocations: 381 kB / 1.061 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.8392, allocations: 210.1 kB / 1.061 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.8397, allocations: 485.5 kB / 1.061 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.8401, allocations: 286.2 kB / 1.061 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.8401, allocations: 0 / 1.061 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001098/0.8412, allocations: 0.7193 MB / 1.062 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8412, allocations: 12.83 kB / 1.062 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.8412, allocations: 8 kB / 1.062 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.8414, allocations: 60.75 kB / 1.062 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.8419, allocations: 135.1 kB / 1.062 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.8431, allocations: 1.428 MB / 1.064 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.8441, allocations: 183.2 kB / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.8442, allocations: 31.23 kB / 1.064 GB, free: 9.055 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.8443, allocations: 132.5 kB / 1.064 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005279/0.8449, allocations: 318.8 kB / 1.064 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.845, allocations: 59.16 kB / 1.064 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.8452, allocations: 67.08 kB / 1.065 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8452, allocations: 0 / 1.065 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8453, allocations: 0 / 1.065 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.8453, allocations: 3.984 kB / 1.065 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.8461, allocations: 0.6254 MB / 1.065 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8461, allocations: 0 / 1.065 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.8464, allocations: 51.91 kB / 1.065 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.8465, allocations: 50 kB / 1.065 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.8465, allocations: 0 / 1.065 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009979/0.8475, allocations: 1.401 MB / 1.067 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8476, allocations: 3.938 kB / 1.067 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.8482, allocations: 0.5318 MB / 1.067 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.8486, allocations: 356.5 kB / 1.067 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.8488, allocations: 7.984 kB / 1.068 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/0.8494, allocations: 87.47 kB / 1.068 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.8494, allocations: 11.98 kB / 1.068 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.8495, allocations: 4 kB / 1.068 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007866/0.8503, allocations: 0.6487 MB / 1.068 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.623e-06/0.8503, allocations: 0 / 1.068 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000724/0.851, allocations: 191.8 kB / 1.068 GB, free: 4.949 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.8521, allocations: 1.158 MB / 1.07 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008149/0.8529, allocations: 0.5155 MB / 1.07 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8529, allocations: 4.188 kB / 1.07 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.8532, allocations: 230.1 kB / 1.07 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.854, allocations: 143.2 kB / 1.07 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.8567, allocations: 1.414 MB / 1.072 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.8573, allocations: 1.016 MB / 1.073 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004487/0.8577, allocations: 188.4 kB / 1.073 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.858, allocations: 205.7 kB / 1.073 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/0.858, allocations: 0 / 1.073 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.893, allocations: 13.25 MB / 1.086 GB, free: 3.469 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.8932, allocations: 159.9 kB / 1.086 GB, free: 3.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.914, allocations: 0 / 1.086 GB, free: 3.27 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)