Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 176.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008475/0.0008475, allocations: 81.7 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.139e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5157, allocations: 116.3 MB / 0.9732 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.6759, allocations: 148 MB / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.6761, allocations: 76.47 kB / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09899/0.7751, allocations: 28.2 MB / 1.145 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7752, allocations: 1.125 kB / 1.145 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001061/0.7753, allocations: 24 kB / 1.145 GB, free: 5.859 MB / 0.7448 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.002409/0.7777, allocations: 1.193 MB / 1.147 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7777, allocations: 12.03 kB / 1.147 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.7782, allocations: 130.4 kB / 1.147 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.7815, allocations: 1.53 MB / 1.148 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.7816, allocations: 16 kB / 1.148 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7817, allocations: 44 kB / 1.148 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008771/0.7826, allocations: 0.5842 MB / 1.149 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.7835, allocations: 0.5962 MB / 1.149 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7835, allocations: 0 / 1.149 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.7835, allocations: 0 / 1.149 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.7835, allocations: 13.41 kB / 1.149 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.7873, allocations: 2.666 MB / 1.152 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.7887, allocations: 0.8939 MB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.7892, allocations: 381.3 kB / 1.153 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/0.7893, allocations: 16.36 kB / 1.153 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7893, allocations: 38.94 kB / 1.153 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.7893, allocations: 0 / 1.153 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.001449/0.7908, allocations: 0.8492 MB / 1.154 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.7908, allocations: 63.34 kB / 1.154 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.7921, allocations: 0.9793 MB / 1.155 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.7921, allocations: 25.7 kB / 1.155 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.7925, allocations: 452.8 kB / 1.156 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.7927, allocations: 169.5 kB / 1.156 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.7927, allocations: 0 / 1.156 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7929, allocations: 349.9 kB / 1.156 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.7936, allocations: 0.5208 MB / 1.157 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/0.7944, allocations: 0.8368 MB / 1.157 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.7957, allocations: 0.7107 MB / 1.158 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.7957, allocations: 4 kB / 1.158 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002488/0.7982, allocations: 1.576 MB / 1.16 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7982, allocations: 12 kB / 1.16 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.7983, allocations: 12 kB / 1.16 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.7984, allocations: 49.48 kB / 1.16 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.7999, allocations: 360 kB / 1.16 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.8042, allocations: 6.899 MB / 1.167 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.8055, allocations: 138.8 kB / 1.167 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.8056, allocations: 63.98 kB / 1.167 GB, free: 14.95 MB / 0.7761 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 () * 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.0001671/0.8058, allocations: 128.7 kB / 1.167 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.806, allocations: 110.6 kB / 1.167 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.8075, allocations: 0.9685 MB / 1.168 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8076, allocations: 15.94 kB / 1.168 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8076, allocations: 0 / 1.168 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.8076, allocations: 3.984 kB / 1.168 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.8087, allocations: 0.8906 MB / 1.169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.8087, allocations: 0 / 1.169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.8093, allocations: 123.8 kB / 1.169 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.8094, allocations: 24.84 kB / 1.169 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.8094, allocations: 27.92 kB / 1.169 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009258/0.8104, allocations: 1.304 MB / 1.17 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8104, allocations: 4.156 kB / 1.17 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.8123, allocations: 1.464 MB / 1.172 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.8128, allocations: 369.5 kB / 1.172 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.813, allocations: 7.984 kB / 1.172 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.8138, allocations: 51.73 kB / 1.172 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.8139, allocations: 35.89 kB / 1.172 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.814, allocations: 39.05 kB / 1.172 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008855/0.8149, allocations: 0.7099 MB / 1.173 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8149, allocations: 0 / 1.173 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001057/0.8159, allocations: 355.6 kB / 1.173 GB, free: 8.125 MB / 0.7761 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 () * 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.0005623/0.8165, allocations: 286.5 kB / 1.174 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.8186, allocations: 1.452 MB / 1.175 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8186, allocations: 6.25 kB / 1.175 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.8191, allocations: 445.6 kB / 1.176 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/0.82, allocations: 206.4 kB / 1.176 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.8228, allocations: 2.103 MB / 1.178 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.8235, allocations: 1.127 MB / 1.179 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005491/0.8241, allocations: 208.2 kB / 1.179 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.8243, allocations: 67.44 kB / 1.179 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of SimCode: time 2.31e-07/0.8243, allocations: 4 kB / 1.179 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.02075/0.845, allocations: 12.33 MB / 1.191 GB, free: 6.113 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)