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.469/1.469, allocations: 252 MB / 267.6 MB, free: 10.93 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.001063/0.001063, allocations: 172.1 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0008766/0.0008766, allocations: 89.73 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 6.344 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3027, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005602/0.3084, allocations: 3.77 MB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006877/0.3153, allocations: 2.847 MB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.3161, allocations: 19.88 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.3174, allocations: 298.3 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3194, allocations: 0.5833 MB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3216, allocations: 0.4951 MB / 0.9086 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.3241, allocations: 1.77 MB / 0.9104 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.3245, allocations: 144.5 kB / 0.9105 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3256, allocations: 0.5215 MB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3268, allocations: 0.654 MB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3269, allocations: 44 kB / 0.9117 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009421/0.3279, allocations: 311.6 kB / 0.912 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.3285, allocations: 422.7 kB / 0.9124 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.3287, allocations: 237.1 kB / 0.9126 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.3297, allocations: 1.075 MB / 0.9137 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3297, allocations: 3.938 kB / 0.9137 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3297, allocations: 0 / 0.9137 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.3297, allocations: 0 / 0.9137 GB, free: 50.67 MB / 0.6042 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.00289/0.3326, allocations: 1.472 MB / 0.9151 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3327, allocations: 8.031 kB / 0.9151 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.3329, allocations: 134.4 kB / 0.9152 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3342, allocations: 0.7759 MB / 0.916 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.3343, allocations: 45 kB / 0.916 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3344, allocations: 71.89 kB / 0.9161 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.3353, allocations: 0.6021 MB / 0.9167 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3353, allocations: 7.922 kB / 0.9167 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.3353, allocations: 20 kB / 0.9167 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3354, allocations: 12 kB / 0.9167 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.3361, allocations: 0.5582 MB / 0.9173 GB, free: 46.84 MB / 0.6042 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.004226/0.3404, allocations: 3.298 MB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3418, allocations: 0.8467 MB / 0.9213 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.3422, allocations: 365.4 kB / 0.9217 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.901e-05/0.3423, allocations: 24.34 kB / 0.9217 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3424, allocations: 46.86 kB / 0.9217 GB, free: 42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.796e-06/0.3424, allocations: 0 / 0.9217 GB, free: 42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001778/0.3441, allocations: 1.182 MB / 0.9229 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3442, allocations: 55.41 kB / 0.9229 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3458, allocations: 1.22 MB / 0.9241 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.3458, allocations: 41.7 kB / 0.9242 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.3461, allocations: 464.7 kB / 0.9246 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3462, allocations: 177.5 kB / 0.9248 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3463, allocations: 20 kB / 0.9248 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.3464, allocations: 349.9 kB / 0.9251 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.347, allocations: 0.6426 MB / 0.9258 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/0.3477, allocations: 0.9669 MB / 0.9267 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.3484, allocations: 0.7482 MB / 0.9274 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3484, allocations: 4 kB / 0.9275 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001799/0.3502, allocations: 1.775 MB / 0.9292 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3503, allocations: 12 kB / 0.9292 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.3503, allocations: 15.98 kB / 0.9292 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.3505, allocations: 45.47 kB / 0.9293 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3516, allocations: 271.6 kB / 0.9295 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.3541, allocations: 6.729 MB / 0.9361 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3552, allocations: 138.9 kB / 0.9362 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.3553, allocations: 40 kB / 0.9363 GB, free: 26.59 MB / 0.6042 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.000408/0.3557, allocations: 309.4 kB / 0.9366 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3558, allocations: 106.6 kB / 0.9367 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3569, allocations: 0.8426 MB / 0.9375 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3569, allocations: 4 kB / 0.9375 GB, free: 25.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3569, allocations: 7.953 kB / 0.9375 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3569, allocations: 3.984 kB / 0.9375 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.3578, allocations: 0.9151 MB / 0.9384 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3578, allocations: 0 / 0.9384 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.3583, allocations: 115.9 kB / 0.9385 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.3584, allocations: 36.83 kB / 0.9385 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3584, allocations: 15.98 kB / 0.9385 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007013/0.3591, allocations: 1.331 MB / 0.9398 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3592, allocations: 3.953 kB / 0.9398 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.3605, allocations: 1.374 MB / 0.9412 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.3608, allocations: 263.5 kB / 0.9414 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3609, allocations: 15.95 kB / 0.9415 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.3615, allocations: 35.95 kB / 0.9415 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.3615, allocations: 23.97 kB / 0.9415 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3616, allocations: 16 kB / 0.9415 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009421/0.3625, allocations: 0.8115 MB / 0.9423 GB, free: 20.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3625, allocations: 0 / 0.9423 GB, free: 20.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001025/0.3636, allocations: 367.7 kB / 0.9427 GB, free: 19.77 MB / 0.6042 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.0004834/0.3641, allocations: 193.4 kB / 0.9429 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.3663, allocations: 1.513 MB / 0.9443 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3663, allocations: 0 / 0.9443 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004876/0.3668, allocations: 484.1 kB / 0.9448 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3678, allocations: 227.5 kB / 0.945 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.3714, allocations: 3.025 MB / 0.948 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.3719, allocations: 1.102 MB / 0.949 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.3722, allocations: 63.44 kB / 0.9491 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.754e-06/0.3722, allocations: 0 / 0.9491 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.03549/0.4077, allocations: 30.48 MB / 0.9789 GB, free: 14.63 MB / 0.6355 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)