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.0009648/0.0009649, allocations: 102.9 kB / 16.36 MB, free: 6.305 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.0009989/0.0009988, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.905/1.905, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001702/0.001702, allocations: 78.97 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2444, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.3688/0.6133, allocations: 4.344 MB / 0.789 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.6174, allocations: 2.981 MB / 0.7919 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.6178, allocations: 20.5 kB / 0.7919 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.6187, allocations: 365.4 kB / 0.7923 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.6198, allocations: 0.64 MB / 0.7929 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.6212, allocations: 0.63 MB / 0.7935 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.6228, allocations: 1.883 MB / 0.7954 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.6231, allocations: 178.9 kB / 0.7955 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.6238, allocations: 0.5848 MB / 0.7961 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.6245, allocations: 0.654 MB / 0.7967 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.6246, allocations: 75.31 kB / 0.7968 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.6253, allocations: 421.2 kB / 0.7972 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.6257, allocations: 462.4 kB / 0.7977 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.6262, allocations: 0.5999 MB / 0.7982 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.6276, allocations: 1.468 MB / 0.7997 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6276, allocations: 0.5156 kB / 0.7997 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6276, allocations: 0 / 0.7997 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.6276, allocations: 5.375 kB / 0.7997 GB, free: 44.29 MB / 0.6544 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.002883/0.6305, allocations: 1.62 MB / 0.8013 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.6306, allocations: 9.375 kB / 0.8013 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.6308, allocations: 133.8 kB / 0.8014 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.632, allocations: 0.8402 MB / 0.8022 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.6321, allocations: 48.83 kB / 0.8023 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.6322, allocations: 61.5 kB / 0.8023 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.6331, allocations: 0.6139 MB / 0.8029 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6332, allocations: 5.312 kB / 0.8029 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.6332, allocations: 16 kB / 0.8029 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6332, allocations: 9.5 kB / 0.803 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.6341, allocations: 0.5597 MB / 0.8035 GB, free: 42.22 MB / 0.6544 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.004471/0.6386, allocations: 3.275 MB / 0.8067 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.64, allocations: 0.845 MB / 0.8075 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.6405, allocations: 361.6 kB / 0.8079 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.6406, allocations: 32.61 kB / 0.8079 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.6406, allocations: 45.66 kB / 0.8079 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.6407, allocations: 0 / 0.8079 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001963/0.6426, allocations: 1.174 MB / 0.8091 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.6427, allocations: 56.19 kB / 0.8091 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.6445, allocations: 1.231 MB / 0.8103 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.6445, allocations: 39.95 kB / 0.8104 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.6448, allocations: 468.7 kB / 0.8108 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.645, allocations: 170.6 kB / 0.811 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.6453, allocations: 216.1 kB / 0.8112 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.6454, allocations: 352.9 kB / 0.8115 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.6461, allocations: 0.6421 MB / 0.8122 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.6471, allocations: 0.969 MB / 0.8131 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.6487, allocations: 1.588 MB / 0.8147 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.6487, allocations: 3.656 kB / 0.8147 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002908/0.6516, allocations: 1.786 MB / 0.8164 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.6517, allocations: 16.28 kB / 0.8164 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/0.6517, allocations: 13.14 kB / 0.8164 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.652, allocations: 48.53 kB / 0.8165 GB, free: 35.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.6533, allocations: 269.7 kB / 0.8167 GB, free: 35.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.6562, allocations: 6.829 MB / 0.8234 GB, free: 29.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6575, allocations: 131.8 kB / 0.8235 GB, free: 28.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.6576, allocations: 37.09 kB / 0.8236 GB, free: 28.95 MB / 0.6544 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.0004956/0.6581, allocations: 302.2 kB / 0.8239 GB, free: 28.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.6583, allocations: 111.6 kB / 0.824 GB, free: 28.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6596, allocations: 0.8475 MB / 0.8248 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6596, allocations: 4.438 kB / 0.8248 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6596, allocations: 1.125 kB / 0.8248 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6596, allocations: 2.438 kB / 0.8248 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6609, allocations: 0.9103 MB / 0.8257 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6609, allocations: 0 / 0.8257 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.6614, allocations: 112.2 kB / 0.8258 GB, free: 27.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.6616, allocations: 35.16 kB / 0.8258 GB, free: 27.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.6616, allocations: 17.97 kB / 0.8258 GB, free: 27.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/0.6624, allocations: 1.44 MB / 0.8273 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6624, allocations: 2.219 kB / 0.8273 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6642, allocations: 1.36 MB / 0.8286 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.6646, allocations: 265 kB / 0.8288 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6647, allocations: 18.62 kB / 0.8289 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.6653, allocations: 29.08 kB / 0.8289 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.6654, allocations: 24.16 kB / 0.8289 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.6654, allocations: 14.12 kB / 0.8289 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00124/0.6667, allocations: 0.8192 MB / 0.8297 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6667, allocations: 1.156 kB / 0.8297 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00129/0.668, allocations: 362.4 kB / 0.8301 GB, free: 25.46 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.0005522/0.6685, allocations: 280.5 kB / 0.8303 GB, free: 25.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.6711, allocations: 1.504 MB / 0.8318 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.6711, allocations: 5.688 kB / 0.8318 GB, free: 24.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.6716, allocations: 478.3 kB / 0.8323 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6729, allocations: 232.9 kB / 0.8325 GB, free: 24.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.6766, allocations: 2.571 MB / 0.835 GB, free: 23.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.6773, allocations: 1.102 MB / 0.8361 GB, free: 22.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.6777, allocations: 71.23 kB / 0.8361 GB, free: 22.34 MB / 0.6544 GB Notification: Performance of SimCode: time 1.212e-06/0.6777, allocations: 0 / 0.8361 GB, free: 22.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.04239/0.7201, allocations: 30.72 MB / 0.8661 GB, free: 6.176 MB / 0.6544 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)