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.001222/0.001222, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001663/0.001663, allocations: 168.7 kB / 15.95 MB, free: 204 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.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.617/1.617, allocations: 252 MB / 0.5102 GB, free: 4.816 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.0005006/0.0005008, allocations: 12 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5956, allocations: 106.3 MB / 0.7281 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004668/0.6003, allocations: 3.772 MB / 0.7318 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005125/0.6055, allocations: 2.847 MB / 0.7346 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.606, allocations: 15.88 kB / 0.7346 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.6069, allocations: 302.3 kB / 0.7349 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.6081, allocations: 0.5678 MB / 0.7354 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.6096, allocations: 0.5056 MB / 0.7359 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.6117, allocations: 1.776 MB / 0.7377 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.6121, allocations: 144.5 kB / 0.7378 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.6129, allocations: 0.5177 MB / 0.7383 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.6139, allocations: 0.6617 MB / 0.739 GB, free: 384 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.614, allocations: 44 kB / 0.739 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.6147, allocations: 307.6 kB / 0.7393 GB, free: 32 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.6152, allocations: 426.8 kB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.6154, allocations: 237 kB / 0.7399 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6165, allocations: 1.064 MB / 0.741 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.6165, allocations: 4 kB / 0.741 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6165, allocations: 0 / 0.741 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.6166, allocations: 0 / 0.741 GB, free: 14.3 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.002784/0.6194, allocations: 1.476 MB / 0.7424 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.6194, allocations: 12.03 kB / 0.7424 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.6196, allocations: 130.4 kB / 0.7425 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.6209, allocations: 0.7721 MB / 0.7433 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.6209, allocations: 45 kB / 0.7433 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.621, allocations: 67.89 kB / 0.7434 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.6219, allocations: 0.6099 MB / 0.744 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6219, allocations: 0 / 0.744 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.622, allocations: 20 kB / 0.744 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.622, allocations: 16 kB / 0.744 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.6228, allocations: 0.5582 MB / 0.7446 GB, free: 10.47 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.004499/0.6273, allocations: 3.302 MB / 0.7478 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.6288, allocations: 0.8461 MB / 0.7486 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.6293, allocations: 365.4 kB / 0.749 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.6295, allocations: 24.36 kB / 0.749 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.6295, allocations: 30.94 kB / 0.749 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 3.587e-06/0.6295, allocations: 0 / 0.749 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.002184/0.6317, allocations: 1.19 MB / 0.7502 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.6318, allocations: 59.34 kB / 0.7502 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.6334, allocations: 1.212 MB / 0.7514 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.6335, allocations: 49.64 kB / 0.7515 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.6339, allocations: 472.7 kB / 0.7519 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.634, allocations: 169.5 kB / 0.7521 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.6341, allocations: 16 kB / 0.7521 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6342, allocations: 357.9 kB / 0.7524 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/0.635, allocations: 0.6387 MB / 0.7531 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6361, allocations: 0.9708 MB / 0.754 GB, free: 332 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.637, allocations: 0.7483 MB / 0.7548 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.637, allocations: 4 kB / 0.7548 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002321/0.6394, allocations: 1.776 MB / 0.7565 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.6394, allocations: 10.34 kB / 0.7565 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.6394, allocations: 16.06 kB / 0.7565 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.6397, allocations: 48.83 kB / 0.7566 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.6408, allocations: 271.5 kB / 0.7568 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.6449, allocations: 6.737 MB / 0.7634 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.6459, allocations: 130.6 kB / 0.7635 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.646, allocations: 44 kB / 0.7636 GB, free: 6.211 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.0004408/0.6464, allocations: 305.3 kB / 0.7639 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6466, allocations: 114.7 kB / 0.764 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.6478, allocations: 0.8425 MB / 0.7648 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6478, allocations: 8 kB / 0.7648 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6478, allocations: 3.953 kB / 0.7648 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6478, allocations: 0 / 0.7648 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.6489, allocations: 0.9111 MB / 0.7657 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6489, allocations: 4 kB / 0.7657 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.6494, allocations: 115.8 kB / 0.7658 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.6495, allocations: 32.77 kB / 0.7658 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.6496, allocations: 16 kB / 0.7659 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/0.6505, allocations: 1.331 MB / 0.7672 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6506, allocations: 3.953 kB / 0.7672 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.6522, allocations: 1.37 MB / 0.7685 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.6527, allocations: 271.5 kB / 0.7688 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.6529, allocations: 11.95 kB / 0.7688 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.6534, allocations: 35.95 kB / 0.7688 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.6535, allocations: 31.95 kB / 0.7688 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.6536, allocations: 12 kB / 0.7688 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001343/0.6549, allocations: 0.8076 MB / 0.7696 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6549, allocations: 0 / 0.7696 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001239/0.6562, allocations: 367.7 kB / 0.77 GB, free: 15.4 MB / 0.5919 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.0004717/0.6567, allocations: 199 kB / 0.7702 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.6593, allocations: 1.507 MB / 0.7716 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6593, allocations: 0 / 0.7716 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.66, allocations: 482.5 kB / 0.7721 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6611, allocations: 216.5 kB / 0.7723 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.6652, allocations: 2.969 MB / 0.7752 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.6661, allocations: 1.094 MB / 0.7763 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006291/0.6667, allocations: 203.1 kB / 0.7765 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.6669, allocations: 71.42 kB / 0.7765 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/0.6669, allocations: 0 / 0.7765 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.02414/0.6911, allocations: 13.19 MB / 0.7894 GB, free: 11.54 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: