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.005513/0.005513, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001361/0.001361, allocations: 187 kB / 16.67 MB, free: 5.883 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.9235/0.9235, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.5954 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.342, allocations: 82.02 MB / 0.6755 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004093/0.3461, allocations: 3.237 MB / 0.6787 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.3499, allocations: 2.559 MB / 0.6812 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.3501, allocations: 9.5 kB / 0.6812 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.3505, allocations: 95.38 kB / 0.6813 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.3509, allocations: 199.3 kB / 0.6814 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.3519, allocations: 496.9 kB / 0.6819 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007911/0.3527, allocations: 0.8508 MB / 0.6828 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.3531, allocations: 321.7 kB / 0.6831 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.3535, allocations: 336.4 kB / 0.6834 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.3539, allocations: 398.1 kB / 0.6838 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3541, allocations: 87.25 kB / 0.6838 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005222/0.3546, allocations: 366.1 kB / 0.6842 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.3548, allocations: 246 kB / 0.6844 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.3551, allocations: 392.2 kB / 0.6848 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.3562, allocations: 1.145 MB / 0.6859 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3562, allocations: 3.984 kB / 0.6859 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3562, allocations: 1.156 kB / 0.6859 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3562, allocations: 0 / 0.6859 GB, free: 9.719 MB / 0.5137 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.001779/0.358, allocations: 1.116 MB / 0.687 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.358, allocations: 8.812 kB / 0.687 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.3583, allocations: 90.28 kB / 0.6871 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.3589, allocations: 496.8 kB / 0.6876 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.359, allocations: 91.31 kB / 0.6877 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3591, allocations: 67.67 kB / 0.6877 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3606, allocations: 0.788 MB / 0.6885 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3606, allocations: 1.25 kB / 0.6885 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.3607, allocations: 25.8 kB / 0.6885 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3607, allocations: 14.5 kB / 0.6885 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3625, allocations: 0.7995 MB / 0.6893 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.3661, allocations: 2.712 MB / 0.692 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.3676, allocations: 0.709 MB / 0.6927 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009161/0.3685, allocations: 446.2 kB / 0.6931 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.369, allocations: 0.5226 MB / 0.6936 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3691, allocations: 46.94 kB / 0.6936 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.3691, allocations: 0 / 0.6936 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.008555/0.3777, allocations: 2.257 MB / 0.6958 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3777, allocations: 140.9 kB / 0.696 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.3782, allocations: 473.8 kB / 0.6964 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3783, allocations: 33.7 kB / 0.6965 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3785, allocations: 320.3 kB / 0.6968 GB, free: 252 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3786, allocations: 201 kB / 0.697 GB, free: 48 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.3788, allocations: 114.1 kB / 0.6971 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.379, allocations: 366.8 kB / 0.6974 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.3797, allocations: 305 kB / 0.6977 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.3804, allocations: 395.1 kB / 0.6981 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.3848, allocations: 1.84 MB / 0.6999 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3849, allocations: 0 / 0.6999 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004182/0.3891, allocations: 1.361 MB / 0.7012 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.3891, allocations: 65.11 kB / 0.7013 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004048/0.3932, allocations: 1.303 MB / 0.7026 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008389/0.394, allocations: 332.5 kB / 0.7029 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3945, allocations: 115.8 kB / 0.703 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/0.4024, allocations: 3.081 MB / 0.706 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.403, allocations: 71.55 kB / 0.7061 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.403, allocations: 23.98 kB / 0.7061 GB, free: 6.414 MB / 0.5294 GB 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.0004117/0.4034, allocations: 283.7 kB / 0.7063 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4036, allocations: 59.25 kB / 0.7064 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.4079, allocations: 1.364 MB / 0.7077 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.4079, allocations: 8 kB / 0.7077 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4079, allocations: 4 kB / 0.7077 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4079, allocations: 7.984 kB / 0.7078 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009019/0.4088, allocations: 0.7558 MB / 0.7085 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004066/0.4129, allocations: 1.278 MB / 0.7097 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.4133, allocations: 83.89 kB / 0.7098 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008416/0.4142, allocations: 328.6 kB / 0.7101 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.4143, allocations: 23.97 kB / 0.7102 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.422, allocations: 3.076 MB / 0.7132 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.422, allocations: 3.938 kB / 0.7132 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005179/0.4272, allocations: 1.91 MB / 0.715 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.4275, allocations: 216.2 kB / 0.7152 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.4276, allocations: 15.98 kB / 0.7153 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.428, allocations: 27.97 kB / 0.7153 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.4282, allocations: 68.41 kB / 0.7153 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.4282, allocations: 23.98 kB / 0.7154 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003572/0.4286, allocations: 331.1 kB / 0.7157 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4286, allocations: 0 / 0.7157 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006875/0.4293, allocations: 231.4 kB / 0.7159 GB, free: 12.07 MB / 0.545 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.001084/0.4304, allocations: 0.5048 MB / 0.7164 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.4328, allocations: 1.135 MB / 0.7175 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4328, allocations: 0 / 0.7175 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.4342, allocations: 0.7057 MB / 0.7182 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.4347, allocations: 87.88 kB / 0.7183 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4372, allocations: 1.511 MB / 0.7198 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.4377, allocations: 0.9338 MB / 0.7207 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.438, allocations: 122.5 kB / 0.7208 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4382, allocations: 55.41 kB / 0.7208 GB, free: 7.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4382, allocations: 4 kB / 0.7208 GB, free: 7.066 MB / 0.545 GB Notification: Performance of Templates: time 0.01646/0.4547, allocations: 11.28 MB / 0.7319 GB, free: 11.85 MB / 0.5606 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)