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.001334/0.001334, allocations: 99.55 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.001391/0.001391, 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.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.57/1.57, allocations: 251.9 MB / 0.51 GB, free: 4.797 MB / 414.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.0005967/0.0005969, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7231, allocations: 106.3 MB / 0.728 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005506/0.7286, allocations: 3.495 MB / 0.7314 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005172/0.7339, allocations: 2.848 MB / 0.7342 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006338/0.7345, allocations: 23.88 kB / 0.7342 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.7358, allocations: 410.2 kB / 0.7346 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.737, allocations: 0.5025 MB / 0.7351 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.7385, allocations: 0.5054 MB / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.7402, allocations: 1.046 MB / 0.7366 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.7405, allocations: 144.5 kB / 0.7367 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.7412, allocations: 458.5 kB / 0.7371 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.7418, allocations: 498.1 kB / 0.7376 GB, free: 1.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.7419, allocations: 36 kB / 0.7377 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000596/0.7425, allocations: 291.6 kB / 0.7379 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.7429, allocations: 390.9 kB / 0.7383 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.7432, allocations: 241 kB / 0.7385 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.7442, allocations: 1.036 MB / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7442, allocations: 4 kB / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.889e-06/0.7443, allocations: 0 / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.7443, allocations: 3.938 kB / 0.7396 GB, free: 15.63 MB / 0.5606 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.002834/0.7471, allocations: 1.456 MB / 0.741 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.7472, allocations: 11.97 kB / 0.741 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.7474, allocations: 130.4 kB / 0.7411 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.7488, allocations: 0.7292 MB / 0.7418 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.7488, allocations: 41 kB / 0.7419 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.749, allocations: 64 kB / 0.7419 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.7499, allocations: 0.6138 MB / 0.7425 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7499, allocations: 0 / 0.7425 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.75, allocations: 16 kB / 0.7425 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.75, allocations: 8 kB / 0.7426 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.7508, allocations: 0.5543 MB / 0.7431 GB, free: 11.88 MB / 0.5606 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.004708/0.7555, allocations: 3.278 MB / 0.7463 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.757, allocations: 0.8499 MB / 0.7471 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.7571, allocations: 28.34 kB / 0.7472 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.7572, allocations: 34.94 kB / 0.7472 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.395e-06/0.7572, allocations: 0 / 0.7472 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.002039/0.7592, allocations: 1.187 MB / 0.7483 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.7593, allocations: 59.41 kB / 0.7484 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.7612, allocations: 1.184 MB / 0.7496 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.7613, allocations: 41.7 kB / 0.7496 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.7618, allocations: 456.7 kB / 0.75 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.762, allocations: 173.5 kB / 0.7502 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.7621, allocations: 20 kB / 0.7502 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.7623, allocations: 349.9 kB / 0.7506 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/0.7632, allocations: 0.6465 MB / 0.7512 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.7644, allocations: 0.963 MB / 0.7521 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7655, allocations: 0.7442 MB / 0.7528 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.7655, allocations: 0 / 0.7528 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003002/0.7685, allocations: 1.787 MB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.7686, allocations: 8 kB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/0.7686, allocations: 12 kB / 0.7546 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.769, allocations: 44.83 kB / 0.7547 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.7703, allocations: 267.6 kB / 0.7549 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.7756, allocations: 6.741 MB / 0.7615 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7769, allocations: 134.7 kB / 0.7616 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.777, allocations: 40 kB / 0.7617 GB, free: 8.055 MB / 0.5762 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.0006414/0.7776, allocations: 313.5 kB / 0.762 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.778, allocations: 110.5 kB / 0.7621 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.7793, allocations: 0.8464 MB / 0.7629 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.7793, allocations: 4 kB / 0.7629 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7794, allocations: 7.984 kB / 0.7629 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7794, allocations: 3.953 kB / 0.7629 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.781, allocations: 0.8956 MB / 0.7638 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.781, allocations: 3.938 kB / 0.7638 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.7816, allocations: 115.8 kB / 0.7639 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.7817, allocations: 28.84 kB / 0.7639 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.7818, allocations: 15.98 kB / 0.7639 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.7831, allocations: 1.338 MB / 0.7652 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7832, allocations: 4.25 kB / 0.7653 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.7851, allocations: 1.369 MB / 0.7666 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.7858, allocations: 259.4 kB / 0.7668 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.786, allocations: 15.98 kB / 0.7669 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.7867, allocations: 43.84 kB / 0.7669 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.7868, allocations: 31.95 kB / 0.7669 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.7869, allocations: 12 kB / 0.7669 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001263/0.7881, allocations: 0.7725 MB / 0.7677 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7881, allocations: 4 kB / 0.7677 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001339/0.7895, allocations: 359.7 kB / 0.768 GB, free: 1.277 MB / 0.5762 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.0005273/0.79, allocations: 191.1 kB / 0.7682 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.7928, allocations: 1.496 MB / 0.7697 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7928, allocations: 192 / 0.7697 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.7934, allocations: 493.8 kB / 0.7701 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.7944, allocations: 204.5 kB / 0.7703 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.7987, allocations: 2.947 MB / 0.7732 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/0.7995, allocations: 1.125 MB / 0.7743 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005815/0.8001, allocations: 198.3 kB / 0.7745 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.8003, allocations: 55.44 kB / 0.7746 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/0.8003, allocations: 0 / 0.7746 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.02554/0.8259, allocations: 12.65 MB / 0.7869 GB, free: 14 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: