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.001706/0.001706, allocations: 106 kB / 16.41 MB, free: 6.516 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.001569/0.001569, allocations: 187 kB / 17.34 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 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.8596/0.8596, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.47 kB / 0.5961 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2014, allocations: 82.03 MB / 0.6762 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.00535/0.2068, allocations: 3.227 MB / 0.6793 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.2115, allocations: 2.578 MB / 0.6818 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.212, allocations: 4 kB / 0.6818 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.2126, allocations: 99.09 kB / 0.6819 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008667/0.2136, allocations: 202.6 kB / 0.6821 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.215, allocations: 486.7 kB / 0.6826 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.2163, allocations: 0.8498 MB / 0.6834 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.2168, allocations: 329.2 kB / 0.6837 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006138/0.2175, allocations: 339 kB / 0.6841 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.2183, allocations: 398.6 kB / 0.6844 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.2185, allocations: 84 kB / 0.6845 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.2193, allocations: 371.5 kB / 0.6849 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.2195, allocations: 239.3 kB / 0.6851 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.2201, allocations: 394 kB / 0.6855 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.2217, allocations: 1.145 MB / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2217, allocations: 0 / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2217, allocations: 0 / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.652e-05/0.2217, allocations: 0 / 0.6866 GB, free: 15.72 MB / 0.5294 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.002657/0.2244, allocations: 1.111 MB / 0.6877 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2245, allocations: 12.03 kB / 0.6877 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.2248, allocations: 95.89 kB / 0.6878 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.2255, allocations: 489.6 kB / 0.6883 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2257, allocations: 90.94 kB / 0.6883 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2259, allocations: 63.91 kB / 0.6884 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.2276, allocations: 0.7978 MB / 0.6892 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2276, allocations: 0 / 0.6892 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.2277, allocations: 27.94 kB / 0.6892 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2277, allocations: 16 kB / 0.6892 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.2297, allocations: 0.7935 MB / 0.69 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.2342, allocations: 2.71 MB / 0.6926 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2359, allocations: 0.7134 MB / 0.6933 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/0.2369, allocations: 438.2 kB / 0.6938 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.2376, allocations: 0.5272 MB / 0.6943 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.2377, allocations: 39 kB / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.106e-06/0.2377, allocations: 0 / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.009008/0.2467, allocations: 2.261 MB / 0.6965 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.2468, allocations: 140.9 kB / 0.6967 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.2475, allocations: 473.8 kB / 0.6971 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.2476, allocations: 37.7 kB / 0.6971 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.2479, allocations: 312.3 kB / 0.6974 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.2481, allocations: 205 kB / 0.6976 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.2484, allocations: 110.1 kB / 0.6977 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.2486, allocations: 366.8 kB / 0.6981 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.2493, allocations: 309 kB / 0.6984 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.2502, allocations: 395.1 kB / 0.6988 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.255, allocations: 1.847 MB / 0.7006 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.255, allocations: 0 / 0.7006 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004486/0.2595, allocations: 1.361 MB / 0.7019 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.2596, allocations: 63.39 kB / 0.702 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00427/0.2639, allocations: 1.295 MB / 0.7032 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009063/0.2648, allocations: 336.4 kB / 0.7035 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.2654, allocations: 115.9 kB / 0.7037 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.2738, allocations: 3.08 MB / 0.7067 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.2746, allocations: 67.59 kB / 0.7067 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.2748, allocations: 27.98 kB / 0.7068 GB, free: 10.23 MB / 0.545 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.0007716/0.2756, allocations: 292.2 kB / 0.707 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.2759, allocations: 55.34 kB / 0.7071 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.2809, allocations: 1.364 MB / 0.7084 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.281, allocations: 4 kB / 0.7084 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.281, allocations: 4 kB / 0.7084 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.281, allocations: 0 / 0.7084 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.2825, allocations: 0.7635 MB / 0.7092 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004329/0.2868, allocations: 1.271 MB / 0.7104 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.2873, allocations: 87.88 kB / 0.7105 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008605/0.2882, allocations: 336.5 kB / 0.7108 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.2883, allocations: 19.98 kB / 0.7108 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008155/0.2965, allocations: 3.069 MB / 0.7138 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2965, allocations: 3.938 kB / 0.7138 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.3022, allocations: 1.91 MB / 0.7157 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.3026, allocations: 216.3 kB / 0.7159 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.3027, allocations: 16 kB / 0.7159 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.3032, allocations: 39.95 kB / 0.716 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.3034, allocations: 60.42 kB / 0.716 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.3035, allocations: 19.98 kB / 0.716 GB, free: 456 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004371/0.3039, allocations: 339.1 kB / 0.7164 GB, free: 120 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3039, allocations: 0 / 0.7164 GB, free: 120 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008397/0.3048, allocations: 219.6 kB / 0.7166 GB, free: 15.9 MB / 0.5606 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.001352/0.3062, allocations: 0.5132 MB / 0.7171 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.3089, allocations: 1.139 MB / 0.7182 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3089, allocations: 0 / 0.7182 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.3105, allocations: 0.7019 MB / 0.7189 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.3111, allocations: 79 kB / 0.7189 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.3144, allocations: 1.561 MB / 0.7205 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.315, allocations: 0.9338 MB / 0.7214 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.3152, allocations: 71.33 kB / 0.7214 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.3153, allocations: 0 / 0.7214 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.0202/0.3355, allocations: 12.75 MB / 0.7339 GB, free: 14.23 MB / 0.5762 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)