Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001192/0.001192, allocations: 181.6 kB / 326.5 MB, free: 2.238 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.777/1.777, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008963/0.0008966, allocations: 92.19 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003531, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.4008, allocations: 141.4 MB / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4011, allocations: 87.95 kB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5825/0.9837, allocations: 28.69 MB / 1.066 GB, free: 145.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9837, allocations: 4.906 kB / 1.066 GB, free: 145.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001265/0.9839, allocations: 18.36 kB / 1.066 GB, free: 145.5 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00476/0.9886, allocations: 1.209 MB / 1.068 GB, free: 144.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.9887, allocations: 8.469 kB / 1.068 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.9889, allocations: 68.06 kB / 1.068 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.9897, allocations: 101.7 kB / 1.068 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.9935, allocations: 1.058 MB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.9935, allocations: 39.91 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.9938, allocations: 62.84 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.9946, allocations: 405.9 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.9946, allocations: 1 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.9947, allocations: 21.23 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.9947, allocations: 7.781 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.9953, allocations: 237 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/1, allocations: 2.568 MB / 1.072 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/1.002, allocations: 0.5618 MB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.002, allocations: 2.875 kB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.002, allocations: 36.41 kB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.026e-06/1.002, allocations: 0 / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001948/1.004, allocations: 0.8893 MB / 1.073 GB, free: 142.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.004, allocations: 54.94 kB / 1.073 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/1.006, allocations: 0.823 MB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-05/1.006, allocations: 38.67 kB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/1.006, allocations: 369.4 kB / 1.075 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.007, allocations: 116.7 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/1.007, allocations: 18.84 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.007, allocations: 391.2 kB / 1.075 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/1.007, allocations: 246.3 kB / 1.075 GB, free: 141.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/1.008, allocations: 0.6339 MB / 1.076 GB, free: 141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/1.009, allocations: 332.8 kB / 1.076 GB, free: 141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/1.009, allocations: 5.844 kB / 1.076 GB, free: 141 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002458/1.011, allocations: 1.023 MB / 1.077 GB, free: 140.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.011, allocations: 10.84 kB / 1.077 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/1.011, allocations: 13.56 kB / 1.077 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/1.012, allocations: 121.8 kB / 1.077 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/1.013, allocations: 199.1 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.015, allocations: 4.199 MB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/1.017, allocations: 137.4 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.017, allocations: 45.44 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006031/1.018, allocations: 266.6 kB / 1.082 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/1.018, allocations: 83.88 kB / 1.082 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/1.018, allocations: 80.09 kB / 1.082 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.018, allocations: 8.219 kB / 1.082 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.018, allocations: 1.469 kB / 1.082 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.018, allocations: 0 / 1.082 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/1.02, allocations: 0.716 MB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.02, allocations: 0 / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/1.02, allocations: 59.73 kB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/1.02, allocations: 111.8 kB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/1.021, allocations: 11.53 kB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/1.023, allocations: 4.156 MB / 1.087 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.023, allocations: 1.094 kB / 1.087 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.024, allocations: 0.7427 MB / 1.088 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/1.025, allocations: 216.1 kB / 1.088 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.025, allocations: 14.83 kB / 1.088 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/1.026, allocations: 44.92 kB / 1.088 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.026, allocations: 25.62 kB / 1.088 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/1.026, allocations: 5.031 kB / 1.088 GB, free: 132.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001176/1.027, allocations: 0.6112 MB / 1.089 GB, free: 132.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.027, allocations: 0 / 1.089 GB, free: 132.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001609/1.029, allocations: 290.3 kB / 1.089 GB, free: 132.1 MB / 0.698 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],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001792/1.031, allocations: 1.341 MB / 1.091 GB, free: 131.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.033, allocations: 0.9269 MB / 1.091 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.033, allocations: 0.5938 kB / 1.091 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/1.033, allocations: 0.5201 MB / 1.092 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.034, allocations: 161.9 kB / 1.092 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/1.042, allocations: 12.22 MB / 1.104 GB, free: 119.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/1.042, allocations: 1.007 MB / 1.105 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006276/1.043, allocations: 148.3 kB / 1.105 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/1.043, allocations: 283.7 kB / 1.105 GB, free: 118.7 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/1.043, allocations: 0 / 1.105 GB, free: 118.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/1.079, allocations: 17.53 MB / 1.123 GB, free: 106.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.079, allocations: 205.7 kB / 1.123 GB, free: 106.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.536, allocations: 0 / 1.123 GB, free: 106.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)