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.004748/0.004748, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001224/0.001224, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.9138/0.9138, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 67.89 kB / 0.5954 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3201, allocations: 82.02 MB / 0.6755 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003681/0.3238, allocations: 3.234 MB / 0.6787 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.327, allocations: 2.563 MB / 0.6812 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.3272, allocations: 10.91 kB / 0.6812 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3275, allocations: 98.39 kB / 0.6813 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.3279, allocations: 199.8 kB / 0.6815 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.3288, allocations: 479.9 kB / 0.6819 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007363/0.3295, allocations: 0.8557 MB / 0.6828 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.3299, allocations: 324.4 kB / 0.6831 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.3303, allocations: 341.2 kB / 0.6834 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.3307, allocations: 390.2 kB / 0.6838 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3309, allocations: 87.72 kB / 0.6838 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.3314, allocations: 372.7 kB / 0.6842 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3316, allocations: 243.8 kB / 0.6844 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.3319, allocations: 392.7 kB / 0.6848 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.3328, allocations: 1.143 MB / 0.6859 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3329, allocations: 1.125 kB / 0.6859 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3329, allocations: 0 / 0.6859 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.3329, allocations: 0 / 0.6859 GB, free: 9.59 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.001667/0.3345, allocations: 1.117 MB / 0.687 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.3346, allocations: 10.03 kB / 0.687 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.3348, allocations: 93.83 kB / 0.6871 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.3354, allocations: 492.1 kB / 0.6876 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3355, allocations: 95.86 kB / 0.6877 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/0.3356, allocations: 63.03 kB / 0.6877 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3371, allocations: 0.7976 MB / 0.6885 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3371, allocations: 3.938 kB / 0.6885 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.3372, allocations: 25.81 kB / 0.6885 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3372, allocations: 14.81 kB / 0.6886 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.3389, allocations: 0.7972 MB / 0.6893 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.3424, allocations: 2.703 MB / 0.692 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.3439, allocations: 0.7122 MB / 0.6927 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.3447, allocations: 441.6 kB / 0.6931 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.3453, allocations: 0.5272 MB / 0.6936 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3453, allocations: 43 kB / 0.6937 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.094e-06/0.3453, allocations: 0 / 0.6937 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.008121/0.3534, allocations: 2.257 MB / 0.6959 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3535, allocations: 148.9 kB / 0.696 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.354, allocations: 465.8 kB / 0.6964 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.354, allocations: 37.7 kB / 0.6965 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3542, allocations: 312.3 kB / 0.6968 GB, free: 212 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3544, allocations: 201 kB / 0.697 GB, free: 8 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3546, allocations: 114.1 kB / 0.6971 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3547, allocations: 370.8 kB / 0.6974 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.3553, allocations: 297 kB / 0.6977 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.3561, allocations: 403.1 kB / 0.6981 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.3605, allocations: 1.845 MB / 0.6999 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3605, allocations: 0 / 0.6999 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004126/0.3646, allocations: 1.365 MB / 0.7012 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3647, allocations: 61.28 kB / 0.7013 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004061/0.3688, allocations: 1.303 MB / 0.7026 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3698, allocations: 332.5 kB / 0.7029 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3703, allocations: 115.8 kB / 0.703 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007593/0.3779, allocations: 3.081 MB / 0.706 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3783, allocations: 63.5 kB / 0.7061 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.3784, allocations: 27.98 kB / 0.7061 GB, free: 6.367 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.0003915/0.3788, allocations: 287.7 kB / 0.7064 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3789, allocations: 59.25 kB / 0.7064 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.3832, allocations: 1.356 MB / 0.7077 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3832, allocations: 8 kB / 0.7077 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3832, allocations: 0 / 0.7077 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3832, allocations: 3.984 kB / 0.7078 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.3841, allocations: 0.7597 MB / 0.7085 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003995/0.3881, allocations: 1.278 MB / 0.7097 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.3885, allocations: 87.88 kB / 0.7098 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008162/0.3894, allocations: 324.6 kB / 0.7101 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.3894, allocations: 19.98 kB / 0.7102 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007858/0.3973, allocations: 3.084 MB / 0.7132 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3973, allocations: 0 / 0.7132 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.4023, allocations: 1.91 MB / 0.715 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.4026, allocations: 224.2 kB / 0.7152 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.4026, allocations: 12 kB / 0.7153 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.403, allocations: 39.89 kB / 0.7153 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.4032, allocations: 56.42 kB / 0.7153 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.4033, allocations: 23.98 kB / 0.7154 GB, free: 12.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004587/0.4037, allocations: 339.1 kB / 0.7157 GB, free: 12.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4038, allocations: 0 / 0.7157 GB, free: 12.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006851/0.4044, allocations: 231.4 kB / 0.7159 GB, free: 12.02 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.001105/0.4056, allocations: 0.5075 MB / 0.7164 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.4079, allocations: 1.128 MB / 0.7175 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.408, allocations: 4 kB / 0.7175 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.4094, allocations: 0.7057 MB / 0.7182 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.4099, allocations: 78.53 kB / 0.7183 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.4124, allocations: 1.517 MB / 0.7198 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.4129, allocations: 0.9377 MB / 0.7207 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.4133, allocations: 121.3 kB / 0.7208 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4134, allocations: 55.41 kB / 0.7208 GB, free: 7.023 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4134, allocations: 0 / 0.7208 GB, free: 7.023 MB / 0.545 GB Notification: Performance of Templates: time 0.01717/0.4306, allocations: 11.47 MB / 0.732 GB, free: 11.61 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)