Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004383/0.004383, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8161/0.8161, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002525, allocations: 4.281 kB / 0.5164 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1216, allocations: 83.42 MB / 0.5978 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.002891/0.1246, allocations: 2.874 MB / 0.6006 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1275, allocations: 2.504 MB / 0.6031 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1276, allocations: 7.938 kB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1279, allocations: 83.47 kB / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1282, allocations: 167 kB / 0.6033 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007075/0.1289, allocations: 420.7 kB / 0.6037 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.1296, allocations: 0.7679 MB / 0.6045 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.1299, allocations: 284.8 kB / 0.6047 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.1302, allocations: 259 kB / 0.605 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.1305, allocations: 322.6 kB / 0.6053 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.2085/0.339, allocations: 38.39 kB / 0.6053 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.3396, allocations: 311.4 kB / 0.6056 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3397, allocations: 181.9 kB / 0.6058 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.34, allocations: 351.2 kB / 0.6061 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.3407, allocations: 1.064 MB / 0.6072 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3407, allocations: 2.875 kB / 0.6072 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3407, allocations: 0 / 0.6072 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3407, allocations: 3.938 kB / 0.6072 GB, free: 36.19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001289/0.342, allocations: 0.9521 MB / 0.6081 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.342, allocations: 9.656 kB / 0.6081 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3422, allocations: 92.56 kB / 0.6082 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3426, allocations: 488.8 kB / 0.6087 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3428, allocations: 91.69 kB / 0.6088 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.3429, allocations: 68.75 kB / 0.6088 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.344, allocations: 0.7949 MB / 0.6096 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3441, allocations: 3.047 kB / 0.6096 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.3441, allocations: 22.12 kB / 0.6096 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3441, allocations: 18.25 kB / 0.6097 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3456, allocations: 0.7966 MB / 0.6104 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.3483, allocations: 2.732 MB / 0.6131 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3496, allocations: 0.7058 MB / 0.6138 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.3504, allocations: 440.1 kB / 0.6142 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/0.3508, allocations: 0.5209 MB / 0.6147 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3508, allocations: 42.16 kB / 0.6148 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 1.663e-06/0.3509, allocations: 0 / 0.6148 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.007451/0.3583, allocations: 2.271 MB / 0.617 GB, free: 33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3584, allocations: 142 kB / 0.6171 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3587, allocations: 478.6 kB / 0.6176 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3588, allocations: 32.52 kB / 0.6176 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3589, allocations: 316.8 kB / 0.6179 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.359, allocations: 198.1 kB / 0.6181 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.359, allocations: 58.67 kB / 0.6181 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.3591, allocations: 366.2 kB / 0.6185 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.3597, allocations: 303.3 kB / 0.6188 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.3603, allocations: 401.5 kB / 0.6192 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.3641, allocations: 1.845 MB / 0.621 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3641, allocations: 6.969 kB / 0.621 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003782/0.3679, allocations: 1.37 MB / 0.6223 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.3679, allocations: 60.81 kB / 0.6224 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003581/0.3715, allocations: 1.31 MB / 0.6236 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007297/0.3722, allocations: 324.2 kB / 0.624 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3727, allocations: 114.4 kB / 0.6241 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.379, allocations: 2.847 MB / 0.6268 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.3794, allocations: 70.34 kB / 0.6269 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.3794, allocations: 25.38 kB / 0.6269 GB, free: 29.32 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real PI1.x:VARIABLE(start = PI1.x_start fixed = true ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.3797, allocations: 296.5 kB / 0.6272 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.3798, allocations: 61.61 kB / 0.6273 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.3836, allocations: 1.395 MB / 0.6286 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3836, allocations: 5.406 kB / 0.6286 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.3836, allocations: 0 / 0.6286 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3837, allocations: 7.125 kB / 0.6287 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.3842, allocations: 0.7598 MB / 0.6294 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003555/0.3878, allocations: 1.284 MB / 0.6307 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.3882, allocations: 90.02 kB / 0.6307 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007129/0.3889, allocations: 330.3 kB / 0.6311 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.389, allocations: 23.36 kB / 0.6311 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006155/0.3951, allocations: 2.822 MB / 0.6338 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3951, allocations: 2.688 kB / 0.6338 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.3995, allocations: 1.916 MB / 0.6357 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.3997, allocations: 230.4 kB / 0.6359 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.3998, allocations: 11.75 kB / 0.6359 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4002, allocations: 35.3 kB / 0.636 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4003, allocations: 65.3 kB / 0.636 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.4004, allocations: 21.69 kB / 0.6361 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000287/0.4007, allocations: 337.1 kB / 0.6364 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4007, allocations: 0 / 0.6364 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005259/0.4012, allocations: 223.3 kB / 0.6366 GB, free: 25.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009752/0.4022, allocations: 0.5119 MB / 0.6371 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.4043, allocations: 1.13 MB / 0.6382 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4043, allocations: 1.344 kB / 0.6382 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4056, allocations: 0.7038 MB / 0.6389 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.4061, allocations: 84.28 kB / 0.639 GB, free: 24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4083, allocations: 1.884 MB / 0.6408 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4086, allocations: 0.9348 MB / 0.6417 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.409, allocations: 126.9 kB / 0.6418 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4091, allocations: 51.75 kB / 0.6419 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4091, allocations: 0 / 0.6419 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.01579/0.4249, allocations: 10.64 MB / 0.6523 GB, free: 21.46 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & ./BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)