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.399/1.399, allocations: 252 MB / 268 MB, free: 10.88 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.0009305/0.0009305, allocations: 174.7 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008663/0.000866, allocations: 91.05 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 9.453 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005897/0.2109, allocations: 3.966 MB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.2177, allocations: 2.994 MB / 0.9082 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.219, allocations: 19.88 kB / 0.9082 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.2205, allocations: 330.2 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.223, allocations: 0.6056 MB / 0.9091 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.2251, allocations: 0.5536 MB / 0.9097 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003119/0.2283, allocations: 2.186 MB / 0.9118 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.2287, allocations: 157.9 kB / 0.912 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.2301, allocations: 0.5135 MB / 0.9125 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.2317, allocations: 0.6694 MB / 0.9131 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.2321, allocations: 44 kB / 0.9132 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.2334, allocations: 395.4 kB / 0.9135 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.2342, allocations: 410.7 kB / 0.9139 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2353, allocations: 0.5884 MB / 0.9145 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2369, allocations: 1.075 MB / 0.9156 GB, free: 49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2369, allocations: 0 / 0.9156 GB, free: 49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2369, allocations: 0 / 0.9156 GB, free: 49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.237, allocations: 0 / 0.9156 GB, free: 49 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.004469/0.2414, allocations: 1.457 MB / 0.917 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.2415, allocations: 12.03 kB / 0.917 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.2419, allocations: 135.3 kB / 0.9171 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.244, allocations: 0.8231 MB / 0.9179 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.2441, allocations: 41.38 kB / 0.918 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.2442, allocations: 60.38 kB / 0.918 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2455, allocations: 0.6179 MB / 0.9186 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2456, allocations: 4 kB / 0.9186 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.2457, allocations: 19.94 kB / 0.9187 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2457, allocations: 12 kB / 0.9187 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2469, allocations: 0.566 MB / 0.9192 GB, free: 45.12 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.006499/0.2534, allocations: 3.294 MB / 0.9224 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.2555, allocations: 0.8542 MB / 0.9233 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.2562, allocations: 370.9 kB / 0.9236 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.2563, allocations: 24.3 kB / 0.9236 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.2564, allocations: 46.88 kB / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 3.997e-06/0.2564, allocations: 0 / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.00273/0.2592, allocations: 1.178 MB / 0.9248 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2592, allocations: 59.39 kB / 0.9249 GB, free: 39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.262, allocations: 1.227 MB / 0.9261 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/0.2621, allocations: 41.7 kB / 0.9261 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.2626, allocations: 472.6 kB / 0.9266 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.2629, allocations: 161.6 kB / 0.9267 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.263, allocations: 16 kB / 0.9268 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2631, allocations: 361.9 kB / 0.9271 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2643, allocations: 0.6387 MB / 0.9277 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.2658, allocations: 0.9786 MB / 0.9287 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.2683, allocations: 1.59 MB / 0.9302 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.2683, allocations: 0 / 0.9302 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003769/0.2721, allocations: 1.791 MB / 0.932 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.2722, allocations: 8 kB / 0.932 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/0.2722, allocations: 12 kB / 0.932 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.2726, allocations: 49.45 kB / 0.932 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.2748, allocations: 275.6 kB / 0.9323 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.2791, allocations: 6.733 MB / 0.9389 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.2813, allocations: 138.8 kB / 0.939 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.2815, allocations: 40 kB / 0.9391 GB, free: 23.85 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 (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.0008638/0.2824, allocations: 299.5 kB / 0.9393 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.2829, allocations: 114.5 kB / 0.9395 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.285, allocations: 0.8466 MB / 0.9403 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.285, allocations: 4 kB / 0.9403 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.285, allocations: 7.984 kB / 0.9403 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.285, allocations: 3.984 kB / 0.9403 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.2871, allocations: 0.9074 MB / 0.9412 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2871, allocations: 0 / 0.9412 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/0.2881, allocations: 115.9 kB / 0.9413 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.2884, allocations: 36.77 kB / 0.9413 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.2885, allocations: 12 kB / 0.9413 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.2897, allocations: 1.338 MB / 0.9426 GB, free: 19.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.2897, allocations: 4 kB / 0.9426 GB, free: 19.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.2924, allocations: 1.385 MB / 0.944 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/0.2933, allocations: 259.5 kB / 0.9442 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.2937, allocations: 19.92 kB / 0.9443 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.2949, allocations: 31.91 kB / 0.9443 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.295, allocations: 31.95 kB / 0.9443 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.2951, allocations: 16 kB / 0.9443 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002063/0.2972, allocations: 0.8154 MB / 0.9451 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2972, allocations: 0 / 0.9451 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001718/0.2989, allocations: 371.6 kB / 0.9455 GB, free: 17.01 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 (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.0008667/0.2998, allocations: 281.2 kB / 0.9458 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004029/0.3039, allocations: 1.507 MB / 0.9472 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3039, allocations: 0 / 0.9472 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/0.3048, allocations: 483.2 kB / 0.9477 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.3072, allocations: 204.5 kB / 0.9479 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.3135, allocations: 3.124 MB / 0.9509 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/0.3144, allocations: 1.094 MB / 0.952 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.315, allocations: 71.42 kB / 0.9521 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.315, allocations: 0 / 0.9521 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.04086/0.3559, allocations: 30.57 MB / 0.9819 GB, free: 11.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)