Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 391.2 MB / 407 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 187.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004879/0.2763, allocations: 4.35 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004147/0.2805, allocations: 2.985 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005467/0.281, allocations: 19.88 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.282, allocations: 322.3 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2831, allocations: 0.599 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2843, allocations: 0.5494 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2859, allocations: 2.202 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.2862, allocations: 161.8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.2868, allocations: 0.5292 MB / 1.23 GB, free: 105.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007131/0.2875, allocations: 0.685 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.82e-05/0.2876, allocations: 48 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.2882, allocations: 395.4 kB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.2885, allocations: 430.6 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.2889, allocations: 0.5632 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.2898, allocations: 1.433 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2899, allocations: 4 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2899, allocations: 0 / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2899, allocations: 0 / 1.233 GB, free: 101.9 MB / 0.823 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.00258/0.2925, allocations: 1.62 MB / 1.235 GB, free: 100.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2925, allocations: 11.98 kB / 1.235 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2927, allocations: 131.3 kB / 1.235 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2937, allocations: 0.8192 MB / 1.235 GB, free: 99.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2938, allocations: 45.38 kB / 1.236 GB, free: 99.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.2938, allocations: 64.38 kB / 1.236 GB, free: 99.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.2945, allocations: 0.6139 MB / 1.236 GB, free: 98.48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2945, allocations: 0 / 1.236 GB, free: 98.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2946, allocations: 16 kB / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2946, allocations: 12 kB / 1.236 GB, free: 98.45 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.2952, allocations: 0.566 MB / 1.237 GB, free: 97.89 MB / 0.823 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.003611/0.2988, allocations: 3.286 MB / 1.24 GB, free: 94.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3, allocations: 0.8494 MB / 1.241 GB, free: 93.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.3003, allocations: 361.4 kB / 1.241 GB, free: 93.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.3004, allocations: 28.3 kB / 1.241 GB, free: 93.12 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3004, allocations: 34.94 kB / 1.241 GB, free: 93.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.136e-06/0.3004, allocations: 4 kB / 1.241 GB, free: 93.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001433/0.3019, allocations: 1.179 MB / 1.242 GB, free: 91.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.3019, allocations: 55.41 kB / 1.242 GB, free: 91.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3032, allocations: 1.224 MB / 1.244 GB, free: 90.56 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3032, allocations: 41.7 kB / 1.244 GB, free: 90.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.3035, allocations: 468.7 kB / 1.244 GB, free: 90.05 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3036, allocations: 173.5 kB / 1.244 GB, free: 89.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3038, allocations: 218.4 kB / 1.244 GB, free: 89.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.3039, allocations: 349.9 kB / 1.245 GB, free: 89.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.3044, allocations: 0.6387 MB / 1.245 GB, free: 88.67 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.3051, allocations: 0.9747 MB / 1.246 GB, free: 87.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3063, allocations: 1.59 MB / 1.248 GB, free: 85.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3063, allocations: 0 / 1.248 GB, free: 85.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001788/0.3081, allocations: 1.783 MB / 1.25 GB, free: 84.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3081, allocations: 17.19 kB / 1.25 GB, free: 84.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.3082, allocations: 12 kB / 1.25 GB, free: 84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.3084, allocations: 44.83 kB / 1.25 GB, free: 83.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.3094, allocations: 263.7 kB / 1.25 GB, free: 83.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.3117, allocations: 6.741 MB / 1.257 GB, free: 76.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.3127, allocations: 122.7 kB / 1.257 GB, free: 76.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.3128, allocations: 43.98 kB / 1.257 GB, free: 76.46 MB / 0.823 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.0003353/0.3131, allocations: 302.8 kB / 1.257 GB, free: 76.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3132, allocations: 110.6 kB / 1.257 GB, free: 76.05 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009146/0.3141, allocations: 0.8569 MB / 1.258 GB, free: 75.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3142, allocations: 8 kB / 1.258 GB, free: 75.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3142, allocations: 0 / 1.258 GB, free: 75.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3142, allocations: 0 / 1.258 GB, free: 75.17 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.315, allocations: 0.9035 MB / 1.259 GB, free: 74.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.315, allocations: 4 kB / 1.259 GB, free: 74.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.3154, allocations: 119.8 kB / 1.259 GB, free: 74.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.3156, allocations: 32.78 kB / 1.259 GB, free: 74.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.3156, allocations: 15.98 kB / 1.259 GB, free: 74.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006391/0.3163, allocations: 1.331 MB / 1.26 GB, free: 72.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3163, allocations: 0 / 1.26 GB, free: 72.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.3286, allocations: 10.64 MB / 1.271 GB, free: 61.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.329, allocations: 263.5 kB / 1.271 GB, free: 61.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.3291, allocations: 12 kB / 1.271 GB, free: 61.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.3297, allocations: 40.05 kB / 1.271 GB, free: 61.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.3298, allocations: 31.91 kB / 1.271 GB, free: 61.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.3298, allocations: 11.98 kB / 1.271 GB, free: 61.17 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009518/0.3307, allocations: 0.8232 MB / 1.272 GB, free: 60.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3308, allocations: 0 / 1.272 GB, free: 60.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001548/0.3323, allocations: 0.5895 MB / 1.272 GB, free: 59.75 MB / 0.823 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.0006509/0.333, allocations: 390.7 kB / 1.273 GB, free: 59.36 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.3349, allocations: 1.503 MB / 1.274 GB, free: 57.83 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3349, allocations: 0 / 1.274 GB, free: 57.83 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.3353, allocations: 490.6 kB / 1.275 GB, free: 57.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000941/0.3363, allocations: 201.8 kB / 1.275 GB, free: 57.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3396, allocations: 3.318 MB / 1.278 GB, free: 53.78 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.34, allocations: 1.118 MB / 1.279 GB, free: 52.63 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007356/0.3408, allocations: 243.1 kB / 1.28 GB, free: 52.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.3411, allocations: 83.42 kB / 1.28 GB, free: 52.31 MB / 0.823 GB Notification: Performance of SimCode: time 1.272e-06/0.3411, allocations: 0 / 1.28 GB, free: 52.31 MB / 0.823 GB Notification: Performance of Templates: time 0.02509/0.3662, allocations: 17.65 MB / 1.297 GB, free: 34.81 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)