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.00151/0.00151, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001688/0.001688, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.19 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.8575/0.8575, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.89 kB / 0.5156 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3784, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004596/0.3831, allocations: 3.216 MB / 0.5988 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.3864, allocations: 2.564 MB / 0.6013 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.3867, allocations: 4 kB / 0.6013 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.3872, allocations: 103.6 kB / 0.6014 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3877, allocations: 193.1 kB / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.3885, allocations: 496.6 kB / 0.6021 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.3891, allocations: 0.8382 MB / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.3895, allocations: 326.2 kB / 0.6032 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.3898, allocations: 343.5 kB / 0.6035 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.3902, allocations: 384.2 kB / 0.6039 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.3903, allocations: 88 kB / 0.604 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.3908, allocations: 375.5 kB / 0.6044 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.391, allocations: 239.3 kB / 0.6046 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3913, allocations: 391.4 kB / 0.605 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.3921, allocations: 1.15 MB / 0.6061 GB, free: 5.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3921, allocations: 4 kB / 0.6061 GB, free: 5.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3921, allocations: 3.938 kB / 0.6061 GB, free: 5.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3921, allocations: 0.75 kB / 0.6061 GB, free: 5.508 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.001544/0.3937, allocations: 1.108 MB / 0.6072 GB, free: 4.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3937, allocations: 8.031 kB / 0.6072 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.3939, allocations: 92 kB / 0.6073 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.3945, allocations: 497.4 kB / 0.6077 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3947, allocations: 96.28 kB / 0.6078 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.3948, allocations: 59.98 kB / 0.6079 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.3961, allocations: 0.7934 MB / 0.6087 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3961, allocations: 5.531 kB / 0.6087 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.3962, allocations: 23.98 kB / 0.6087 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3962, allocations: 16 kB / 0.6087 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.3976, allocations: 0.7971 MB / 0.6095 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.4011, allocations: 2.731 MB / 0.6122 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4026, allocations: 0.7014 MB / 0.6128 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.4035, allocations: 439.2 kB / 0.6133 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.4041, allocations: 0.5248 MB / 0.6138 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4042, allocations: 39.5 kB / 0.6138 GB, free: 13.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=62): time 2.484e-06/0.4042, allocations: 0 / 0.6138 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=62): time 0.008341/0.4125, allocations: 2.259 MB / 0.616 GB, free: 10.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.4127, allocations: 148.9 kB / 0.6162 GB, free: 10.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.4134, allocations: 461.9 kB / 0.6166 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.4135, allocations: 37.64 kB / 0.6166 GB, free: 10.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.4138, allocations: 312.3 kB / 0.6169 GB, free: 9.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.414, allocations: 216.9 kB / 0.6171 GB, free: 9.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.4142, allocations: 106.2 kB / 0.6172 GB, free: 9.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4143, allocations: 362.8 kB / 0.6176 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.415, allocations: 309 kB / 0.6179 GB, free: 8.945 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.4158, allocations: 403.1 kB / 0.6183 GB, free: 8.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/0.4202, allocations: 1.835 MB / 0.6201 GB, free: 6.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4202, allocations: 0 / 0.6201 GB, free: 6.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003947/0.4241, allocations: 1.361 MB / 0.6214 GB, free: 5.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.4242, allocations: 59.41 kB / 0.6214 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003834/0.428, allocations: 1.299 MB / 0.6227 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/0.4289, allocations: 340.4 kB / 0.623 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.4294, allocations: 111.9 kB / 0.6231 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007675/0.4371, allocations: 3.086 MB / 0.6262 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.4376, allocations: 67.56 kB / 0.6262 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.4377, allocations: 27.98 kB / 0.6262 GB, free: 104 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.0004625/0.4382, allocations: 290.4 kB / 0.6265 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4383, allocations: 55.34 kB / 0.6266 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/0.4425, allocations: 1.356 MB / 0.6279 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4425, allocations: 4 kB / 0.6279 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4425, allocations: 0 / 0.6279 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4425, allocations: 3.984 kB / 0.6279 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.4435, allocations: 0.7562 MB / 0.6286 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003814/0.4473, allocations: 1.275 MB / 0.6299 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.4477, allocations: 95.88 kB / 0.63 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.4485, allocations: 324.6 kB / 0.6303 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.4486, allocations: 23.98 kB / 0.6303 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.456, allocations: 3.08 MB / 0.6333 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.456, allocations: 0 / 0.6333 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.461, allocations: 1.906 MB / 0.6352 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.4614, allocations: 220.2 kB / 0.6354 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.4615, allocations: 19.94 kB / 0.6354 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.4619, allocations: 35.95 kB / 0.6354 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4621, allocations: 64.42 kB / 0.6355 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.4621, allocations: 19.98 kB / 0.6355 GB, free: 6.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004409/0.4626, allocations: 339.1 kB / 0.6359 GB, free: 5.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4626, allocations: 0 / 0.6359 GB, free: 5.992 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.4633, allocations: 227.4 kB / 0.6361 GB, free: 5.77 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.001202/0.4645, allocations: 0.5034 MB / 0.6366 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.4669, allocations: 1.132 MB / 0.6377 GB, free: 4.293 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.467, allocations: 4 kB / 0.6377 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.4683, allocations: 0.7057 MB / 0.6384 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.4688, allocations: 87.3 kB / 0.6384 GB, free: 3.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.4715, allocations: 1.51 MB / 0.6399 GB, free: 1.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.4721, allocations: 0.9338 MB / 0.6408 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.4724, allocations: 124.6 kB / 0.6409 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4726, allocations: 47.42 kB / 0.641 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4726, allocations: 0 / 0.641 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of Templates: time 0.0173/0.4899, allocations: 11.15 MB / 0.6519 GB, free: 5.727 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)