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.001567/0.001567, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001675/0.001675, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.463/1.463, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9325/0.9325, allocations: 145 MB / 451.2 MB, free: 5.492 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.7.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=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.002024/0.002024, allocations: 67.39 kB / 0.6252 GB, free: 15.6 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1994, allocations: 86.71 MB / 0.7099 GB, free: 8.902 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005476/0.2048, allocations: 3.266 MB / 0.7131 GB, free: 5.617 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.004617/0.2095, allocations: 2.684 MB / 0.7157 GB, free: 2.922 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.2097, allocations: 11.94 kB / 0.7157 GB, free: 2.91 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.000414/0.2102, allocations: 99.09 kB / 0.7158 GB, free: 2.812 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.2107, allocations: 194.6 kB / 0.716 GB, free: 2.621 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2118, allocations: 493.6 kB / 0.7165 GB, free: 2.141 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001028/0.2128, allocations: 0.8499 MB / 0.7173 GB, free: 1.285 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.2132, allocations: 221.8 kB / 0.7175 GB, free: 1.062 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2137, allocations: 354.9 kB / 0.7179 GB, free: 0.7148 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.2143, allocations: 390.6 kB / 0.7182 GB, free: 340 kB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.2144, allocations: 88 kB / 0.7183 GB, free: 252 kB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.215, allocations: 367.7 kB / 0.7187 GB, free: 15.88 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.2153, allocations: 243.2 kB / 0.7189 GB, free: 15.65 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.2157, allocations: 398 kB / 0.7193 GB, free: 15.26 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2171, allocations: 1.148 MB / 0.7204 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2171, allocations: 0 / 0.7204 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.2171, allocations: 0 / 0.7204 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.035e-05/0.2171, allocations: 8 kB / 0.7204 GB, free: 14.1 MB / 0.545 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.002133/0.2192, allocations: 1.066 MB / 0.7215 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2192, allocations: 8.031 kB / 0.7215 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.2195, allocations: 96.41 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.2202, allocations: 420.2 kB / 0.722 GB, free: 12.45 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.2204, allocations: 98.88 kB / 0.722 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.2205, allocations: 63.95 kB / 0.7221 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.2223, allocations: 0.7901 MB / 0.7229 GB, free: 11.47 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2223, allocations: 0 / 0.7229 GB, free: 11.47 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.2224, allocations: 28 kB / 0.7229 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.2224, allocations: 16 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.2244, allocations: 0.7974 MB / 0.7237 GB, free: 10.63 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.2289, allocations: 2.691 MB / 0.7263 GB, free: 7.758 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.2306, allocations: 0.6495 MB / 0.727 GB, free: 7.098 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009902/0.2315, allocations: 388.8 kB / 0.7273 GB, free: 6.719 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.232, allocations: 77.23 kB / 0.7274 GB, free: 6.645 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.2321, allocations: 42.94 kB / 0.7274 GB, free: 6.594 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=62): time 3.366e-06/0.2321, allocations: 0 / 0.7274 GB, free: 6.594 MB / 0.545 GB
Notification: Performance of matching and sorting (n=62): time 0.009776/0.2419, allocations: 2.184 MB / 0.7296 GB, free: 4.387 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.242, allocations: 144.9 kB / 0.7297 GB, free: 4.215 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.2427, allocations: 473.8 kB / 0.7302 GB, free: 3.75 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.2428, allocations: 33.7 kB / 0.7302 GB, free: 3.711 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.243, allocations: 320.9 kB / 0.7305 GB, free: 3.391 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.2433, allocations: 214.1 kB / 0.7307 GB, free: 3.18 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.2435, allocations: 118 kB / 0.7308 GB, free: 3.059 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.000213/0.2437, allocations: 366.8 kB / 0.7312 GB, free: 2.691 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.2445, allocations: 305 kB / 0.7315 GB, free: 2.391 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.2454, allocations: 402.8 kB / 0.7319 GB, free: 1.969 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/0.2507, allocations: 1.828 MB / 0.7336 GB, free: 84 kB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2507, allocations: 4 kB / 0.7336 GB, free: 80 kB / 0.545 GB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.004913/0.2556, allocations: 1.362 MB / 0.735 GB, free: 14.69 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.2557, allocations: 63.41 kB / 0.735 GB, free: 14.62 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004624/0.2603, allocations: 1.304 MB / 0.7363 GB, free: 13.29 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009972/0.2613, allocations: 332.5 kB / 0.7366 GB, free: 12.96 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.2619, allocations: 115.8 kB / 0.7367 GB, free: 12.85 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/0.2709, allocations: 2.981 MB / 0.7396 GB, free: 9.754 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/0.2717, allocations: 75.59 kB / 0.7397 GB, free: 9.68 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.2717, allocations: 23.98 kB / 0.7397 GB, free: 9.656 MB / 0.5606 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.0006089/0.2724, allocations: 282.8 kB / 0.74 GB, free: 9.367 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.2725, allocations: 59.62 kB / 0.7401 GB, free: 9.309 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.2774, allocations: 1.35 MB / 0.7414 GB, free: 7.941 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.2774, allocations: 12 kB / 0.7414 GB, free: 7.93 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2774, allocations: 0 / 0.7414 GB, free: 7.93 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2774, allocations: 3.984 kB / 0.7414 GB, free: 7.926 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2785, allocations: 0.7314 MB / 0.7421 GB, free: 7.156 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00452/0.283, allocations: 1.276 MB / 0.7434 GB, free: 5.863 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.2835, allocations: 91.88 kB / 0.7434 GB, free: 5.773 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/0.2845, allocations: 328.5 kB / 0.7438 GB, free: 5.449 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.2845, allocations: 23.92 kB / 0.7438 GB, free: 5.426 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008775/0.2933, allocations: 2.977 MB / 0.7467 GB, free: 2.332 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2933, allocations: 0 / 0.7467 GB, free: 2.332 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006062/0.2994, allocations: 1.912 MB / 0.7486 GB, free: 404 kB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.2998, allocations: 139.5 kB / 0.7487 GB, free: 264 kB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2999, allocations: 15.98 kB / 0.7487 GB, free: 248 kB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.3003, allocations: 27.97 kB / 0.7487 GB, free: 220 kB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.3006, allocations: 68.33 kB / 0.7488 GB, free: 152 kB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.3006, allocations: 23.98 kB / 0.7488 GB, free: 128 kB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.3406/0.6412, allocations: 329 kB / 0.7491 GB, free: 39.45 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 3.21e-07/0.6412, allocations: 0.6562 kB / 0.7491 GB, free: 39.45 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.001037/0.6423, allocations: 231.2 kB / 0.7494 GB, free: 39.45 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.001749/0.644, allocations: 0.512 MB / 0.7499 GB, free: 39.32 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.00269/0.6467, allocations: 1.077 MB / 0.7509 GB, free: 39.05 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6467, allocations: 0 / 0.7509 GB, free: 39.05 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6483, allocations: 0.6458 MB / 0.7515 GB, free: 38.84 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.6489, allocations: 90.97 kB / 0.7516 GB, free: 38.83 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.6516, allocations: 1.535 MB / 0.7531 GB, free: 38.33 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.652, allocations: 0.935 MB / 0.754 GB, free: 37.64 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0003858/0.6524, allocations: 127.1 kB / 0.7542 GB, free: 37.62 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6525, allocations: 54.84 kB / 0.7542 GB, free: 37.62 MB / 0.5606 GB
Notification: Performance of SimCode: time 6.52e-07/0.6525, allocations: 3.938 kB / 0.7542 GB, free: 37.62 MB / 0.5606 GB
Notification: Performance of Templates: time 0.02486/0.6774, allocations: 11.75 MB / 0.7657 GB, free: 35.9 MB / 0.5606 GB
"
[Timeout remaining time 659]
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: 8.21527863200754]
Failed to read output from testmodel.py, exit status != 0:
0.6857034359127283 0.698212074 0.47842664399999996
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2f76f957b0>