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.00136/0.00136, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001357/0.001357, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.704/1.704, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005879/0.0005879, allocations: 13.31 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3115, allocations: 116.3 MB / 0.7871 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004204/0.3157, allocations: 3.499 MB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004753/0.3205, allocations: 2.848 MB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.321, allocations: 19.88 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3221, allocations: 402.3 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3232, allocations: 0.5064 MB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3246, allocations: 0.503 MB / 0.7947 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3261, allocations: 1.046 MB / 0.7957 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3263, allocations: 152.3 kB / 0.7958 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.327, allocations: 458.5 kB / 0.7963 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.3277, allocations: 490.1 kB / 0.7967 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.3278, allocations: 36 kB / 0.7968 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000596/0.3284, allocations: 295.6 kB / 0.7971 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.3288, allocations: 382.9 kB / 0.7974 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.329, allocations: 241.1 kB / 0.7977 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3301, allocations: 1.033 MB / 0.7987 GB, free: 120 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3301, allocations: 3.938 kB / 0.7987 GB, free: 116 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3301, allocations: 0 / 0.7987 GB, free: 116 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.3301, allocations: 0 / 0.7987 GB, free: 116 kB / 0.6075 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.002756/0.3329, allocations: 1.453 MB / 0.8001 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3329, allocations: 8.031 kB / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.3332, allocations: 138.3 kB / 0.8002 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3344, allocations: 0.733 MB / 0.8009 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3345, allocations: 49 kB / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3346, allocations: 67.92 kB / 0.8011 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008871/0.3355, allocations: 0.606 MB / 0.8016 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3355, allocations: 3.938 kB / 0.8016 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.3355, allocations: 16 kB / 0.8017 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3356, allocations: 15.94 kB / 0.8017 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.3363, allocations: 0.5621 MB / 0.8022 GB, free: 12.34 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.004475/0.3408, allocations: 3.267 MB / 0.8054 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.3423, allocations: 0.8476 MB / 0.8062 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.3424, allocations: 28.34 kB / 0.8063 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3425, allocations: 34.94 kB / 0.8063 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 4.649e-06/0.3425, allocations: 0 / 0.8063 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001837/0.3443, allocations: 1.192 MB / 0.8075 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.3444, allocations: 59.41 kB / 0.8075 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.3459, allocations: 1.173 MB / 0.8087 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.346, allocations: 41.7 kB / 0.8087 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.3464, allocations: 452.8 kB / 0.8091 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.3465, allocations: 181.4 kB / 0.8093 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.3466, allocations: 20 kB / 0.8093 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3468, allocations: 349.9 kB / 0.8097 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008192/0.3476, allocations: 0.6465 MB / 0.8103 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.3487, allocations: 0.9747 MB / 0.8113 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.3496, allocations: 0.7404 MB / 0.812 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3496, allocations: 0 / 0.812 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002356/0.352, allocations: 1.779 MB / 0.8137 GB, free: 88 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.352, allocations: 10.81 kB / 0.8137 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.3521, allocations: 15.98 kB / 0.8137 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.3524, allocations: 45.34 kB / 0.8138 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3536, allocations: 275.7 kB / 0.814 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.3584, allocations: 6.733 MB / 0.8206 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3595, allocations: 138.9 kB / 0.8208 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.3596, allocations: 40 kB / 0.8208 GB, free: 8.512 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 (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.0005784/0.3602, allocations: 304.2 kB / 0.8211 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.3604, allocations: 110.4 kB / 0.8212 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3617, allocations: 0.8568 MB / 0.822 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3617, allocations: 4 kB / 0.822 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3617, allocations: 0 / 0.822 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.3617, allocations: 0 / 0.822 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3629, allocations: 0.8957 MB / 0.8229 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3629, allocations: 3.984 kB / 0.8229 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.3634, allocations: 111.9 kB / 0.823 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.3636, allocations: 32.83 kB / 0.823 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.3636, allocations: 16 kB / 0.8231 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3648, allocations: 1.346 MB / 0.8244 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3648, allocations: 0 / 0.8244 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3665, allocations: 1.378 MB / 0.8257 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.3669, allocations: 259.5 kB / 0.826 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.367, allocations: 12 kB / 0.826 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.3676, allocations: 35.95 kB / 0.826 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3677, allocations: 23.92 kB / 0.826 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3677, allocations: 19.98 kB / 0.8261 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001078/0.3688, allocations: 0.7725 MB / 0.8268 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3688, allocations: 0 / 0.8268 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001077/0.3699, allocations: 371.7 kB / 0.8272 GB, free: 1.746 MB / 0.6387 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.0003974/0.3703, allocations: 191.1 kB / 0.8273 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002569/0.3729, allocations: 1.514 MB / 0.8288 GB, free: 12 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3729, allocations: 0 / 0.8288 GB, free: 12 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.3735, allocations: 478.2 kB / 0.8293 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.3744, allocations: 205.6 kB / 0.8295 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3783, allocations: 2.961 MB / 0.8324 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.3791, allocations: 1.117 MB / 0.8335 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.3797, allocations: 194.3 kB / 0.8336 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3799, allocations: 59.44 kB / 0.8337 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.3799, allocations: 3.938 kB / 0.8337 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.0244/0.4043, allocations: 12.64 MB / 0.846 GB, free: 14.45 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: