Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 252 MB / 267.9 MB, free: 10.95 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.0009295/0.0009294, allocations: 186 kB / 327.6 MB, free: 2.184 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.304/1.304, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0006756/0.0006757, allocations: 92.25 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 13.91 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 106.3 MB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.3163, allocations: 141.5 MB / 1.039 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.3166, allocations: 79.97 kB / 1.039 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4369/0.7535, allocations: 28.73 MB / 1.067 GB, free: 143.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7535, allocations: 0 / 1.067 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001824/0.7537, allocations: 25.38 kB / 1.068 GB, free: 143.9 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.006179/0.7599, allocations: 1.553 MB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.76, allocations: 9.562 kB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.761, allocations: 131.7 kB / 1.069 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.7657, allocations: 1.589 MB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.7658, allocations: 48.84 kB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.7661, allocations: 61.03 kB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.7675, allocations: 0.6671 MB / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7675, allocations: 4.562 kB / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.7676, allocations: 14.47 kB / 1.071 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.7676, allocations: 10.59 kB / 1.072 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.7687, allocations: 0.6381 MB / 1.072 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.7734, allocations: 2.757 MB / 1.075 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.7749, allocations: 0.9241 MB / 1.076 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.7755, allocations: 398.9 kB / 1.076 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.7755, allocations: 20.03 kB / 1.076 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.7756, allocations: 45.44 kB / 1.076 GB, free: 141.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.325e-06/0.7756, allocations: 0 / 1.076 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002132/0.7777, allocations: 1.303 MB / 1.077 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.7778, allocations: 63.19 kB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.7796, allocations: 1.179 MB / 1.079 GB, free: 141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.7797, allocations: 40.58 kB / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.78, allocations: 464.5 kB / 1.079 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.7802, allocations: 177.1 kB / 1.079 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.7803, allocations: 15.19 kB / 1.079 GB, free: 140.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.7803, allocations: 351.9 kB / 1.08 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.7812, allocations: 0.544 MB / 1.08 GB, free: 140.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009281/0.7822, allocations: 0.8754 MB / 1.081 GB, free: 140 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.7839, allocations: 1.436 MB / 1.082 GB, free: 139.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.7839, allocations: 3.438 kB / 1.082 GB, free: 139.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002536/0.7865, allocations: 1.601 MB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.7865, allocations: 14.16 kB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/0.7866, allocations: 12.62 kB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.7868, allocations: 45.88 kB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.7884, allocations: 367.1 kB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.792, allocations: 6.83 MB / 1.091 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.7937, allocations: 152.9 kB / 1.091 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.7938, allocations: 66.61 kB / 1.091 GB, free: 133.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0005892/0.7944, allocations: 302.2 kB / 1.092 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.7949, allocations: 113.2 kB / 1.092 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.7965, allocations: 1.028 MB / 1.093 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.7965, allocations: 7.906 kB / 1.093 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7965, allocations: 0 / 1.093 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.7965, allocations: 3.469 kB / 1.093 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.798, allocations: 0.9655 MB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.798, allocations: 3.938 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.7985, allocations: 129.2 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.7986, allocations: 27.27 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.7987, allocations: 26.06 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006337/0.7993, allocations: 1.335 MB / 1.095 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7994, allocations: 0 / 1.095 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.8011, allocations: 1.519 MB / 1.097 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.8018, allocations: 363.7 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.802, allocations: 19.64 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.8029, allocations: 47.55 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.803, allocations: 38.11 kB / 1.097 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.8031, allocations: 37.72 kB / 1.097 GB, free: 130.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009714/0.804, allocations: 0.7772 MB / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8041, allocations: 0 / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001294/0.8054, allocations: 379.7 kB / 1.098 GB, free: 129.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.0005816/0.8059, allocations: 292.2 kB / 1.099 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.8081, allocations: 1.487 MB / 1.1 GB, free: 129 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8081, allocations: 0.625 kB / 1.1 GB, free: 129 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.8086, allocations: 478.7 kB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.8099, allocations: 207.3 kB / 1.101 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.8132, allocations: 2.978 MB / 1.104 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.8138, allocations: 1.108 MB / 1.105 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005744/0.8144, allocations: 205.6 kB / 1.105 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8146, allocations: 67.3 kB / 1.105 GB, free: 125.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.8146, allocations: 0 / 1.105 GB, free: 125.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02128/0.8359, allocations: 14.49 MB / 1.119 GB, free: 111.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)