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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009222/0.009222, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002305/0.002305, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001447/0.001447, allocations: 63.89 kB / 0.7257 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.698, allocations: 104.7 MB / 0.828 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006128/0.7042, allocations: 4.344 MB / 0.8322 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.7097, allocations: 2.984 MB / 0.8352 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.7103, allocations: 23.88 kB / 0.8352 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.7116, allocations: 365.6 kB / 0.8355 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.7131, allocations: 0.6523 MB / 0.8362 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.7149, allocations: 0.6275 MB / 0.8368 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.7172, allocations: 1.882 MB / 0.8386 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.7176, allocations: 173.9 kB / 0.8388 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.7185, allocations: 0.6073 MB / 0.8394 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.7195, allocations: 0.6577 MB / 0.84 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.7197, allocations: 76 kB / 0.8401 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008379/0.7205, allocations: 419.4 kB / 0.8405 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/0.721, allocations: 458.7 kB / 0.8409 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.7216, allocations: 0.6023 MB / 0.8415 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.7235, allocations: 1.468 MB / 0.843 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7235, allocations: 0 / 0.843 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7235, allocations: 0 / 0.843 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.7235, allocations: 0 / 0.843 GB, free: 3.199 MB / 0.6387 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.003139/0.7267, allocations: 1.616 MB / 0.8445 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7267, allocations: 15.97 kB / 0.8445 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.727, allocations: 135.2 kB / 0.8447 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.7284, allocations: 0.8388 MB / 0.8455 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.7284, allocations: 45.38 kB / 0.8455 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7286, allocations: 68.27 kB / 0.8456 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.7296, allocations: 0.6178 MB / 0.8462 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7296, allocations: 3.938 kB / 0.8462 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.7296, allocations: 16 kB / 0.8462 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.7297, allocations: 8 kB / 0.8462 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.7304, allocations: 0.5621 MB / 0.8468 GB, free: 15.16 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.005173/0.7356, allocations: 3.27 MB / 0.85 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7371, allocations: 0.8483 MB / 0.8508 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.7376, allocations: 365.4 kB / 0.8512 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.058e-05/0.7377, allocations: 24.3 kB / 0.8512 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7377, allocations: 34.94 kB / 0.8512 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 3.095e-06/0.7377, allocations: 4 kB / 0.8512 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001905/0.7396, allocations: 1.186 MB / 0.8524 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.7397, allocations: 55.41 kB / 0.8524 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.7414, allocations: 1.227 MB / 0.8536 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.7415, allocations: 41.7 kB / 0.8537 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.7419, allocations: 460.7 kB / 0.8541 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.7421, allocations: 173.5 kB / 0.8543 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.7424, allocations: 210.5 kB / 0.8545 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002948/0.7427, allocations: 349.9 kB / 0.8548 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.7437, allocations: 0.6426 MB / 0.8554 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.7448, allocations: 0.9747 MB / 0.8564 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.7467, allocations: 1.59 MB / 0.8579 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.7467, allocations: 4 kB / 0.8579 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00263/0.7493, allocations: 1.779 MB / 0.8597 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7494, allocations: 8 kB / 0.8597 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.7494, allocations: 12 kB / 0.8597 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.7496, allocations: 57.36 kB / 0.8597 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7508, allocations: 271.6 kB / 0.86 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.7556, allocations: 6.832 MB / 0.8667 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.757, allocations: 134.9 kB / 0.8668 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.7571, allocations: 40 kB / 0.8668 GB, free: 9.633 MB / 0.67 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.0005873/0.7577, allocations: 302.4 kB / 0.8671 GB, free: 9.328 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.7581, allocations: 110.5 kB / 0.8672 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.7598, allocations: 0.8427 MB / 0.8681 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.7598, allocations: 4 kB / 0.8681 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.7598, allocations: 4 kB / 0.8681 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7598, allocations: 0 / 0.8681 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.7613, allocations: 0.9229 MB / 0.869 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7613, allocations: 0 / 0.869 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.7618, allocations: 107.9 kB / 0.8691 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.762, allocations: 36.77 kB / 0.8691 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.7621, allocations: 16 kB / 0.8691 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.7631, allocations: 1.433 MB / 0.8705 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7632, allocations: 7.969 kB / 0.8705 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.7649, allocations: 1.362 MB / 0.8719 GB, free: 4.262 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006298/0.7656, allocations: 267.5 kB / 0.8721 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7658, allocations: 11.94 kB / 0.8721 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/0.7664, allocations: 32.03 kB / 0.8722 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.7665, allocations: 27.95 kB / 0.8722 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.7666, allocations: 8 kB / 0.8722 GB, free: 3.902 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00141/0.768, allocations: 0.8194 MB / 0.873 GB, free: 3.078 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.768, allocations: 0 / 0.873 GB, free: 3.078 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001282/0.7693, allocations: 367.6 kB / 0.8733 GB, free: 2.719 MB / 0.67 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.0006946/0.77, allocations: 287 kB / 0.8736 GB, free: 2.426 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.7727, allocations: 1.499 MB / 0.8751 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7727, allocations: 0 / 0.8751 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.7733, allocations: 479.3 kB / 0.8755 GB, free: 436 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7747, allocations: 226.9 kB / 0.8758 GB, free: 212 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.7791, allocations: 2.515 MB / 0.8782 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/0.78, allocations: 1.106 MB / 0.8793 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.7806, allocations: 207.1 kB / 0.8795 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.7809, allocations: 67.38 kB / 0.8796 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of SimCode: time 8.32e-07/0.7809, allocations: 0 / 0.8796 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.02866/0.8095, allocations: 14.7 MB / 0.8939 GB, free: 13.72 MB / 0.7012 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)