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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9902/0.9902, allocations: 145.2 MB / 448.6 MB, free: 13.7 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.55 kB / 0.621 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.205, allocations: 86.63 MB / 0.7056 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.00738/0.2123, allocations: 3.261 MB / 0.7088 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005614/0.2179, allocations: 2.586 MB / 0.7113 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.2184, allocations: 8 kB / 0.7113 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.219, allocations: 107.1 kB / 0.7114 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.2196, allocations: 198.6 kB / 0.7116 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.221, allocations: 496.7 kB / 0.7121 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2221, allocations: 0.8381 MB / 0.7129 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.2225, allocations: 245.3 kB / 0.7131 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.223, allocations: 339 kB / 0.7135 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.2236, allocations: 402.5 kB / 0.7138 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.2238, allocations: 84 kB / 0.7139 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.2245, allocations: 371.6 kB / 0.7143 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.2248, allocations: 247.2 kB / 0.7145 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.2252, allocations: 386 kB / 0.7149 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2267, allocations: 1.148 MB / 0.716 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2267, allocations: 4 kB / 0.716 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2267, allocations: 0 / 0.716 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2267, allocations: 0 / 0.716 GB, free: 8.102 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.002253/0.2289, allocations: 1.137 MB / 0.7171 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.229, allocations: 12.03 kB / 0.7171 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.2293, allocations: 92.42 kB / 0.7172 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.23, allocations: 497.9 kB / 0.7177 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2302, allocations: 94.88 kB / 0.7178 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2303, allocations: 63.95 kB / 0.7178 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.232, allocations: 0.7901 MB / 0.7186 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.232, allocations: 4 kB / 0.7186 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.2321, allocations: 24 kB / 0.7186 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.2321, allocations: 16 kB / 0.7187 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.2341, allocations: 0.7935 MB / 0.7194 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.2388, allocations: 2.73 MB / 0.7221 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.241, allocations: 0.6555 MB / 0.7227 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.2422, allocations: 386.2 kB / 0.7231 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/0.2431, allocations: 0.5226 MB / 0.7236 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.2432, allocations: 46.98 kB / 0.7237 GB, free: 15.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 3.536e-06/0.2432, allocations: 7.875 kB / 0.7237 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.009208/0.2524, allocations: 2.253 MB / 0.7259 GB, free: 13.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.2525, allocations: 140.9 kB / 0.726 GB, free: 13.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.2533, allocations: 465.9 kB / 0.7265 GB, free: 12.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.2533, allocations: 37.7 kB / 0.7265 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2536, allocations: 324.9 kB / 0.7268 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.2539, allocations: 214.1 kB / 0.727 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.2541, allocations: 118.2 kB / 0.7271 GB, free: 12.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002766/0.2544, allocations: 362.8 kB / 0.7275 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.2553, allocations: 305 kB / 0.7278 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/0.2562, allocations: 395.1 kB / 0.7281 GB, free: 11.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/0.2614, allocations: 1.84 MB / 0.7299 GB, free: 9.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.2614, allocations: 4 kB / 0.7299 GB, free: 9.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004821/0.2662, allocations: 1.361 MB / 0.7313 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.2663, allocations: 65.42 kB / 0.7313 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004505/0.2708, allocations: 1.299 MB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/0.2718, allocations: 332.5 kB / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.2723, allocations: 119.8 kB / 0.733 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009982/0.2823, allocations: 3.081 MB / 0.736 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.283, allocations: 75.64 kB / 0.7361 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.2831, allocations: 27.98 kB / 0.7361 GB, free: 2.66 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.0005825/0.2836, allocations: 272.5 kB / 0.7364 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2838, allocations: 59.62 kB / 0.7364 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/0.2886, allocations: 1.358 MB / 0.7378 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2886, allocations: 7.938 kB / 0.7378 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2886, allocations: 0 / 0.7378 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2886, allocations: 7.922 kB / 0.7378 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2897, allocations: 0.7562 MB / 0.7385 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004464/0.2942, allocations: 1.274 MB / 0.7398 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.2947, allocations: 91.88 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009636/0.2956, allocations: 332.5 kB / 0.7402 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.2957, allocations: 15.98 kB / 0.7402 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008917/0.3046, allocations: 3.088 MB / 0.7432 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3046, allocations: 0 / 0.7432 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.3109, allocations: 1.91 MB / 0.7451 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.3114, allocations: 212.6 kB / 0.7453 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.3115, allocations: 12 kB / 0.7453 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.3119, allocations: 31.95 kB / 0.7453 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3122, allocations: 64.42 kB / 0.7454 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.3122, allocations: 27.98 kB / 0.7454 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000541/0.3128, allocations: 331.1 kB / 0.7457 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3128, allocations: 0 / 0.7457 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008242/0.3136, allocations: 227.4 kB / 0.7459 GB, free: 8.336 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.001859/0.3155, allocations: 0.5202 MB / 0.7464 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.3185, allocations: 1.077 MB / 0.7475 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3185, allocations: 0 / 0.7475 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.3202, allocations: 0.6393 MB / 0.7481 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.3208, allocations: 80.7 kB / 0.7482 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.324, allocations: 1.584 MB / 0.7497 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.3248, allocations: 0.9416 MB / 0.7507 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.3251, allocations: 59.41 kB / 0.7507 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.3251, allocations: 0 / 0.7507 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of Templates: time 0.02193/0.347, allocations: 12.78 MB / 0.7632 GB, free: 6.762 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.479902104008943] Failed to read output from testmodel.py, exit status != 0: 0.35554014798253775 0.370854897 0.14101950700000002 Calling exit ...