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.908/1.908, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001185/0.001185, allocations: 181.5 kB / 376.9 MB, free: 1.812 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.615/1.615, allocations: 205 MB / 0.6353 GB, free: 9.801 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.0009687/0.0009687, allocations: 105.6 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2609, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005957/0.2669, allocations: 4.372 MB / 0.9865 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.2726, allocations: 3.006 MB / 0.9894 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.2732, allocations: 19.88 kB / 0.9894 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.2743, allocations: 326.3 kB / 0.9897 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.2757, allocations: 0.6067 MB / 0.9903 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.2772, allocations: 0.5537 MB / 0.9909 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.2794, allocations: 2.202 MB / 0.993 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.2797, allocations: 153.9 kB / 0.9932 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.2805, allocations: 0.5292 MB / 0.9937 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/0.2814, allocations: 0.6811 MB / 0.9943 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.2816, allocations: 48 kB / 0.9944 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.2823, allocations: 399.4 kB / 0.9948 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.2827, allocations: 426.6 kB / 0.9952 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.2832, allocations: 0.5671 MB / 0.9957 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2845, allocations: 1.425 MB / 0.9971 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2845, allocations: 4 kB / 0.9971 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2845, allocations: 0 / 0.9971 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.2846, allocations: 0 / 0.9971 GB, free: 11.05 MB / 0.7292 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.002945/0.2875, allocations: 1.616 MB / 0.9987 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2876, allocations: 12.03 kB / 0.9987 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.2878, allocations: 135.3 kB / 0.9988 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.289, allocations: 0.8153 MB / 0.9996 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.2891, allocations: 41.38 kB / 0.9997 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.2892, allocations: 64.38 kB / 0.9997 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.29, allocations: 0.6179 MB / 1 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.29, allocations: 3.938 kB / 1 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.2901, allocations: 16 kB / 1 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2901, allocations: 12 kB / 1 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.2908, allocations: 0.5543 MB / 1.001 GB, free: 7.043 MB / 0.7292 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.004286/0.2951, allocations: 3.286 MB / 1.004 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.2965, allocations: 0.8515 MB / 1.005 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.2969, allocations: 361.4 kB / 1.005 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.297, allocations: 36.23 kB / 1.005 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.297, allocations: 38.94 kB / 1.005 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.297, allocations: 0 / 1.005 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001824/0.2989, allocations: 1.174 MB / 1.007 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2989, allocations: 55.41 kB / 1.007 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.3005, allocations: 1.239 MB / 1.008 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.3005, allocations: 45.64 kB / 1.008 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3009, allocations: 464.7 kB / 1.008 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.3011, allocations: 169.6 kB / 1.008 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.3013, allocations: 206.5 kB / 1.009 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3015, allocations: 353.9 kB / 1.009 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/0.3023, allocations: 0.6387 MB / 1.01 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/0.3033, allocations: 0.9825 MB / 1.011 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.3049, allocations: 1.586 MB / 1.012 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3049, allocations: 4 kB / 1.012 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002241/0.3072, allocations: 1.779 MB / 1.014 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.3072, allocations: 15.94 kB / 1.014 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.3072, allocations: 12 kB / 1.014 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.3075, allocations: 44.83 kB / 1.014 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.3086, allocations: 275.9 kB / 1.014 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.3127, allocations: 6.721 MB / 1.021 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.3141, allocations: 138.6 kB / 1.021 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.3142, allocations: 36 kB / 1.021 GB, free: 1.609 MB / 0.7448 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.0005332/0.3147, allocations: 309.6 kB / 1.021 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.315, allocations: 106.6 kB / 1.021 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.3162, allocations: 0.8466 MB / 1.022 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3162, allocations: 4 kB / 1.022 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3162, allocations: 0 / 1.022 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3162, allocations: 4 kB / 1.022 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5124/0.8286, allocations: 0.9102 MB / 1.023 GB, free: 98.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8286, allocations: 2.797 kB / 1.023 GB, free: 98.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.8292, allocations: 109.1 kB / 1.023 GB, free: 98.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.8294, allocations: 36.33 kB / 1.023 GB, free: 98.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.8294, allocations: 16.92 kB / 1.023 GB, free: 98.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008095/0.8303, allocations: 1.334 MB / 1.024 GB, free: 97.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8303, allocations: 3.672 kB / 1.024 GB, free: 97.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.8453, allocations: 10.64 MB / 1.035 GB, free: 94.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.8458, allocations: 263 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.846, allocations: 16.25 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.8466, allocations: 35.36 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.8467, allocations: 28.36 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.8468, allocations: 17.16 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001366/0.8481, allocations: 0.8208 MB / 1.036 GB, free: 94.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8481, allocations: 0 / 1.036 GB, free: 94.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002199/0.8503, allocations: 0.5907 MB / 1.037 GB, free: 94.48 MB / 0.7448 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.0008668/0.8512, allocations: 391.5 kB / 1.037 GB, free: 94.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.8539, allocations: 1.508 MB / 1.038 GB, free: 94.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.854, allocations: 0 / 1.038 GB, free: 94.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.8546, allocations: 476.5 kB / 1.039 GB, free: 94.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8558, allocations: 216 kB / 1.039 GB, free: 94.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.8609, allocations: 3.312 MB / 1.042 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.862, allocations: 1.11 MB / 1.043 GB, free: 91.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001201/0.8632, allocations: 246.5 kB / 1.044 GB, free: 91.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.8636, allocations: 88.61 kB / 1.044 GB, free: 91.6 MB / 0.7448 GB Notification: Performance of SimCode: time 3.106e-06/0.8636, allocations: 0 / 1.044 GB, free: 91.6 MB / 0.7448 GB Notification: Performance of Templates: time 0.03729/0.9009, allocations: 17.66 MB / 1.061 GB, free: 90.68 MB / 0.7448 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)