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.001198/0.001198, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001001/0.001001, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8037/0.8037, allocations: 143 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.89 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2913, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.00354/0.2949, allocations: 3.229 MB / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.2976, allocations: 2.564 MB / 0.6013 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.2978, allocations: 11.94 kB / 0.6013 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2981, allocations: 95.66 kB / 0.6014 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.2985, allocations: 200.9 kB / 0.6016 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.2993, allocations: 498.5 kB / 0.6021 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005396/0.2998, allocations: 0.8382 MB / 0.6029 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.3001, allocations: 323.8 kB / 0.6032 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.3004, allocations: 344 kB / 0.6035 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.3007, allocations: 390.6 kB / 0.6039 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.3008, allocations: 88 kB / 0.604 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.3012, allocations: 364.6 kB / 0.6044 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3014, allocations: 247.2 kB / 0.6046 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3016, allocations: 395.5 kB / 0.605 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.3023, allocations: 1.143 MB / 0.6061 GB, free: 5.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3023, allocations: 0 / 0.6061 GB, free: 5.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3023, allocations: 0 / 0.6061 GB, free: 5.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.3024, allocations: 5.188 kB / 0.6061 GB, free: 5.477 MB / 446.1 MB 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.001481/0.3038, allocations: 1.115 MB / 0.6072 GB, free: 4.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.3039, allocations: 8.031 kB / 0.6072 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3041, allocations: 88 kB / 0.6073 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.3047, allocations: 498.8 kB / 0.6077 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.3048, allocations: 90.94 kB / 0.6078 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.3049, allocations: 68.88 kB / 0.6079 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3062, allocations: 0.7936 MB / 0.6087 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3062, allocations: 0 / 0.6087 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.3063, allocations: 31.98 kB / 0.6087 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3063, allocations: 13.22 kB / 0.6087 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.3077, allocations: 0.7963 MB / 0.6095 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.311, allocations: 2.728 MB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.3125, allocations: 0.7024 MB / 0.6128 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.3134, allocations: 434.8 kB / 0.6133 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.314, allocations: 0.5247 MB / 0.6138 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.314, allocations: 35.72 kB / 0.6138 GB, free: 13.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=62): time 2.033e-06/0.314, allocations: 0.6562 kB / 0.6138 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=62): time 0.00817/0.3222, allocations: 2.264 MB / 0.616 GB, free: 10.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.3223, allocations: 144.9 kB / 0.6162 GB, free: 10.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.3228, allocations: 465.9 kB / 0.6166 GB, free: 10.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.3229, allocations: 37.7 kB / 0.6166 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3231, allocations: 316.3 kB / 0.6169 GB, free: 9.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3233, allocations: 208.9 kB / 0.6171 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.3235, allocations: 110.2 kB / 0.6172 GB, free: 9.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3237, allocations: 374.8 kB / 0.6176 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.3244, allocations: 301 kB / 0.6179 GB, free: 8.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009677/0.3254, allocations: 395.1 kB / 0.6183 GB, free: 8.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/0.3298, allocations: 1.838 MB / 0.6201 GB, free: 6.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3298, allocations: 4 kB / 0.6201 GB, free: 6.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004007/0.3338, allocations: 1.357 MB / 0.6214 GB, free: 5.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.3339, allocations: 67.41 kB / 0.6214 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003811/0.3377, allocations: 1.295 MB / 0.6227 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008113/0.3385, allocations: 332.5 kB / 0.623 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.339, allocations: 115.9 kB / 0.6231 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/0.3464, allocations: 3.082 MB / 0.6261 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.3469, allocations: 63.5 kB / 0.6262 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.347, allocations: 23.98 kB / 0.6262 GB, free: 84 kB / 462.1 MB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Ts.T:VARIABLE(min = 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.0004465/0.3474, allocations: 303.1 kB / 0.6265 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3476, allocations: 55.34 kB / 0.6266 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.3518, allocations: 1.353 MB / 0.6279 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3518, allocations: 8 kB / 0.6279 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3518, allocations: 0 / 0.6279 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3518, allocations: 3.984 kB / 0.6279 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.3528, allocations: 0.7601 MB / 0.6286 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00386/0.3566, allocations: 1.271 MB / 0.6299 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.3571, allocations: 91.88 kB / 0.63 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007722/0.3579, allocations: 332.5 kB / 0.6303 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.358, allocations: 15.98 kB / 0.6303 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007458/0.3654, allocations: 3.092 MB / 0.6333 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3655, allocations: 0 / 0.6333 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.3706, allocations: 1.906 MB / 0.6352 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.371, allocations: 220.2 kB / 0.6354 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3711, allocations: 8 kB / 0.6354 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.3716, allocations: 35.95 kB / 0.6354 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3718, allocations: 64.42 kB / 0.6355 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.3718, allocations: 19.98 kB / 0.6355 GB, free: 6.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.3723, allocations: 335.1 kB / 0.6358 GB, free: 5.965 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3723, allocations: 0 / 0.6358 GB, free: 5.965 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.373, allocations: 235.4 kB / 0.6361 GB, free: 5.734 MB / 478.1 MB 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.001139/0.3742, allocations: 0.5101 MB / 0.6366 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.3766, allocations: 1.128 MB / 0.6377 GB, free: 4.258 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3766, allocations: 0 / 0.6377 GB, free: 4.258 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.378, allocations: 0.6979 MB / 0.6383 GB, free: 3.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.3786, allocations: 93.78 kB / 0.6384 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.3814, allocations: 1.509 MB / 0.6399 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.3819, allocations: 0.9377 MB / 0.6408 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.3823, allocations: 127.7 kB / 0.6409 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3825, allocations: 55.41 kB / 0.641 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3825, allocations: 0 / 0.641 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of Templates: time 0.01855/0.4011, allocations: 11.13 MB / 0.6519 GB, free: 5.691 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)