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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 103.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001755, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 77.78 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.0059/0.2283, allocations: 4.366 MB / 0.7878 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005034/0.2334, allocations: 2.971 MB / 0.7907 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.2342, allocations: 15.88 kB / 0.7907 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.2355, allocations: 326.3 kB / 0.791 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.2371, allocations: 0.5912 MB / 0.7916 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2387, allocations: 0.5759 MB / 0.7921 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.2409, allocations: 1.878 MB / 0.794 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.2412, allocations: 177.9 kB / 0.7941 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.2421, allocations: 0.5994 MB / 0.7947 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008872/0.2429, allocations: 0.7085 MB / 0.7954 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.2431, allocations: 76 kB / 0.7955 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.2437, allocations: 407.4 kB / 0.7959 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.2442, allocations: 450.7 kB / 0.7963 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.2447, allocations: 0.61 MB / 0.7969 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2458, allocations: 1.115 MB / 0.798 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2458, allocations: 0 / 0.798 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2458, allocations: 3.938 kB / 0.798 GB, free: 15 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2459, allocations: 0 / 0.798 GB, free: 15 MB / 0.6231 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.002802/0.2487, allocations: 1.62 MB / 0.7996 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2487, allocations: 8.031 kB / 0.7996 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.2489, allocations: 135.3 kB / 0.7997 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2501, allocations: 0.8192 MB / 0.8005 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.2501, allocations: 45.38 kB / 0.8006 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.2502, allocations: 60.38 kB / 0.8006 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/0.2512, allocations: 0.6101 MB / 0.8012 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2512, allocations: 3.938 kB / 0.8012 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.2512, allocations: 20 kB / 0.8012 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2513, allocations: 12 kB / 0.8012 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.252, allocations: 0.5582 MB / 0.8018 GB, free: 10.99 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.2565, allocations: 3.278 MB / 0.805 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2578, allocations: 0.844 MB / 0.8058 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.2582, allocations: 373.1 kB / 0.8062 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.337e-05/0.2583, allocations: 32.14 kB / 0.8062 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2584, allocations: 38.94 kB / 0.8062 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.2584, allocations: 0 / 0.8062 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001873/0.2602, allocations: 1.175 MB / 0.8074 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2603, allocations: 55.41 kB / 0.8074 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.2617, allocations: 1.227 MB / 0.8086 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.2618, allocations: 41.7 kB / 0.8087 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2621, allocations: 476.6 kB / 0.8091 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.2623, allocations: 161.6 kB / 0.8093 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.2625, allocations: 210.5 kB / 0.8095 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.2628, allocations: 349.9 kB / 0.8098 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.2635, allocations: 0.6465 MB / 0.8104 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.2645, allocations: 0.9669 MB / 0.8114 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.2662, allocations: 1.59 MB / 0.8129 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2662, allocations: 4 kB / 0.8129 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002279/0.2685, allocations: 1.787 MB / 0.8147 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2686, allocations: 8 kB / 0.8147 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.2686, allocations: 12 kB / 0.8147 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.2688, allocations: 48.83 kB / 0.8148 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.2699, allocations: 271.6 kB / 0.815 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/0.2744, allocations: 6.832 MB / 0.8217 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2756, allocations: 122.8 kB / 0.8218 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.2756, allocations: 40.19 kB / 0.8218 GB, free: 5.473 MB / 0.6387 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 (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.2761, allocations: 316.5 kB / 0.8221 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2762, allocations: 114.4 kB / 0.8223 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2774, allocations: 0.8386 MB / 0.8231 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2774, allocations: 11.94 kB / 0.8231 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2774, allocations: 4 kB / 0.8231 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2774, allocations: 3.984 kB / 0.8231 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2786, allocations: 0.9151 MB / 0.824 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.2786, allocations: 7.938 kB / 0.824 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.2792, allocations: 107.9 kB / 0.8241 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.2793, allocations: 32.83 kB / 0.8241 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.2793, allocations: 23.98 kB / 0.8241 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.2804, allocations: 1.437 MB / 0.8256 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2804, allocations: 0 / 0.8256 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2821, allocations: 1.362 MB / 0.8269 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.2827, allocations: 263.5 kB / 0.8271 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.2829, allocations: 23.92 kB / 0.8272 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.2834, allocations: 23.97 kB / 0.8272 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.2835, allocations: 31.95 kB / 0.8272 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2835, allocations: 12 kB / 0.8272 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001029/0.2846, allocations: 0.8154 MB / 0.828 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2846, allocations: 0 / 0.828 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009865/0.2856, allocations: 371.7 kB / 0.8284 GB, free: 14.53 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005502/0.2861, allocations: 277.9 kB / 0.8286 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.2886, allocations: 1.617 MB / 0.8302 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2886, allocations: 3.938 kB / 0.8302 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.2892, allocations: 470.4 kB / 0.8307 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2902, allocations: 232.4 kB / 0.8309 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.2939, allocations: 2.925 MB / 0.8337 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.2946, allocations: 1.094 MB / 0.8348 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.2949, allocations: 67.44 kB / 0.8349 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of SimCode: time 8.91e-07/0.2949, allocations: 0 / 0.8349 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.03436/0.3293, allocations: 30.72 MB / 0.8649 GB, free: 9.086 MB / 0.6856 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)