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.526/1.526, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001247, allocations: 179.1 kB / 326.5 MB, free: 2.254 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.817/1.817, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009744/0.0009744, allocations: 92.19 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003622, allocations: 9.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4102, allocations: 144.4 MB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.4106, allocations: 79.97 kB / 1.041 GB, free: 15.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.525/0.9357, allocations: 28.15 MB / 1.069 GB, free: 146 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9357, allocations: 0 / 1.069 GB, free: 146 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.9358, allocations: 15.69 kB / 1.069 GB, free: 146 MB / 0.698 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.002788/0.9386, allocations: 1.19 MB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.9386, allocations: 9.625 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/0.9387, allocations: 67.69 kB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.9389, allocations: 73.22 kB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.9416, allocations: 1.26 MB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.9417, allocations: 30.19 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.9418, allocations: 43.53 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.9424, allocations: 372.4 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9424, allocations: 1.031 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.9425, allocations: 12.05 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.9425, allocations: 6.781 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.9429, allocations: 235.5 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.9456, allocations: 2.086 MB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.9466, allocations: 397.6 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.9466, allocations: 5.625 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.9467, allocations: 33.06 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.9467, allocations: 0 / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009257/0.9476, allocations: 0.5415 MB / 1.075 GB, free: 143.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.9476, allocations: 53.69 kB / 1.075 GB, free: 143.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.9488, allocations: 0.9202 MB / 1.076 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.9489, allocations: 35.77 kB / 1.076 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.9491, allocations: 299.9 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.9492, allocations: 79.48 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.9492, allocations: 10.22 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9493, allocations: 374.5 kB / 1.077 GB, free: 143 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.9497, allocations: 237.9 kB / 1.077 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.9501, allocations: 0.4902 MB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.9505, allocations: 308.2 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9505, allocations: 6.594 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001136/0.9517, allocations: 0.7947 MB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.9517, allocations: 12.91 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9517, allocations: 9.031 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.952, allocations: 60.5 kB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.9524, allocations: 144.7 kB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/0.9533, allocations: 1.441 MB / 1.08 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.9543, allocations: 199.3 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.9543, allocations: 33.91 kB / 1.08 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.0004014/0.9547, allocations: 346.5 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.9548, allocations: 57.91 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.955, allocations: 71.98 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.955, allocations: 2.406 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.955, allocations: 0 / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.955, allocations: 1.188 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.9557, allocations: 0.6611 MB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9557, allocations: 4 kB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.9559, allocations: 56.03 kB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.9561, allocations: 41.42 kB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.9561, allocations: 11.78 kB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.9569, allocations: 1.434 MB / 1.083 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9569, allocations: 0 / 1.083 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.9577, allocations: 0.5652 MB / 1.083 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.9581, allocations: 360 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.9582, allocations: 12.3 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.9587, allocations: 81.75 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.9588, allocations: 20.3 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.9588, allocations: 11 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008826/0.9597, allocations: 0.6951 MB / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9597, allocations: 0 / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008216/0.9605, allocations: 199.2 kB / 1.085 GB, free: 138.9 MB / 0.698 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 () * Number of clocked 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.001014/0.9615, allocations: 1.188 MB / 1.086 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9626, allocations: 0.5667 MB / 1.086 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9626, allocations: 0 / 1.086 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.963, allocations: 251.6 kB / 1.087 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.9637, allocations: 161.2 kB / 1.087 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.9675, allocations: 8.601 MB / 1.095 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.9679, allocations: 1.025 MB / 1.096 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004134/0.9684, allocations: 185.4 kB / 1.096 GB, free: 129.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.9686, allocations: 206.2 kB / 1.097 GB, free: 129.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.6e-07/0.9686, allocations: 3.75 kB / 1.097 GB, free: 129.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.998, allocations: 15.5 MB / 1.112 GB, free: 118.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.9982, allocations: 215.3 kB / 1.112 GB, free: 118.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.364, allocations: 0 / 1.112 GB, free: 118.2 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)