Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001213/0.001213, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001266/0.001266, allocations: 187.8 kB / 22.98 MB, free: 5.062 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.298/1.298, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8801/0.8801, allocations: 149.6 MB / 456.6 MB, free: 1.176 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData")
translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 69.92 kB / 0.6328 GB, free: 8.984 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, allocations: 87.87 MB / 0.7187 GB, free: 1.016 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5118/0.6758, allocations: 177.6 MB / 0.8921 GB, free: 12.98 MB / 0.67 GB
Notification: Performance of NFInst.instExpressions: time 0.01816/0.6939, allocations: 13.06 MB / 0.9049 GB, free: 15.88 MB / 0.6856 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.6955, allocations: 43.62 kB / 0.9049 GB, free: 15.84 MB / 0.6856 GB
Notification: Performance of NFTyping.typeComponents: time 0.001425/0.697, allocations: 480.4 kB / 0.9054 GB, free: 15.37 MB / 0.6856 GB
Notification: Performance of NFTyping.typeBindings: time 0.003161/0.7001, allocations: 1.048 MB / 0.9064 GB, free: 14.32 MB / 0.6856 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.7048, allocations: 1.937 MB / 0.9083 GB, free: 12.39 MB / 0.6856 GB
Notification: Performance of NFFlatten.flatten: time 0.00357/0.7083, allocations: 2.547 MB / 0.9108 GB, free: 9.824 MB / 0.6856 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.7104, allocations: 1.288 MB / 0.912 GB, free: 8.48 MB / 0.6856 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.715, allocations: 1.65 MB / 0.9137 GB, free: 6.871 MB / 0.6856 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.7163, allocations: 0.8947 MB / 0.9145 GB, free: 5.973 MB / 0.6856 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.7166, allocations: 172 kB / 0.9147 GB, free: 5.805 MB / 0.6856 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.7195, allocations: 1.497 MB / 0.9162 GB, free: 4.305 MB / 0.6856 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.7201, allocations: 494.4 kB / 0.9166 GB, free: 3.82 MB / 0.6856 GB
Notification: Performance of NFVerifyModel.verify: time 0.001017/0.7211, allocations: 0.8708 MB / 0.9175 GB, free: 2.945 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.004775/0.7258, allocations: 2.814 MB / 0.9202 GB, free: 124 kB / 0.6856 GB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7259, allocations: 0 / 0.9202 GB, free: 124 kB / 0.6856 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.7259, allocations: 4 kB / 0.9202 GB, free: 120 kB / 0.6856 GB
Notification: Performance of Transformations before backend: time 2.404e-05/0.7259, allocations: 7.938 kB / 0.9202 GB, free: 112 kB / 0.6856 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 346
 * Number of variables: 346
Notification: Performance of Generate backend data structure: time 0.003547/0.7294, allocations: 1.997 MB / 0.9222 GB, free: 14.06 MB / 0.7013 GB
Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7295, allocations: 12.03 kB / 0.9222 GB, free: 14.05 MB / 0.7013 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.7319, allocations: 414.5 kB / 0.9226 GB, free: 13.64 MB / 0.7013 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.7336, allocations: 0.9555 MB / 0.9235 GB, free: 12.66 MB / 0.7013 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.7337, allocations: 102.7 kB / 0.9236 GB, free: 12.56 MB / 0.7013 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.7338, allocations: 132 kB / 0.9238 GB, free: 12.43 MB / 0.7013 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.7363, allocations: 1.529 MB / 0.9252 GB, free: 10.83 MB / 0.7013 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.7363, allocations: 0 / 0.9252 GB, free: 10.83 MB / 0.7013 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7365, allocations: 60 kB / 0.9253 GB, free: 10.77 MB / 0.7013 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.7365, allocations: 32 kB / 0.9253 GB, free: 10.74 MB / 0.7013 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.7391, allocations: 1.591 MB / 0.9269 GB, free: 9.145 MB / 0.7013 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007249/0.7463, allocations: 5.328 MB / 0.9321 GB, free: 3.473 MB / 0.7013 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.7487, allocations: 1.148 MB / 0.9332 GB, free: 2.324 MB / 0.7013 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.7495, allocations: 447.6 kB / 0.9336 GB, free: 1.883 MB / 0.7013 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.7501, allocations: 124.7 kB / 0.9338 GB, free: 1.762 MB / 0.7013 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.7514, allocations: 0.6918 MB / 0.9344 GB, free: 1.047 MB / 0.7013 GB
Notification: Performance of pre-optimization done (n=107): time 2.384e-06/0.7514, allocations: 0 / 0.9344 GB, free: 1.047 MB / 0.7013 GB
Notification: Performance of matching and sorting (n=107): time 0.004206/0.7556, allocations: 1.597 MB / 0.936 GB, free: 15.45 MB / 0.7169 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7557, allocations: 192.9 kB / 0.9362 GB, free: 15.21 MB / 0.7169 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.7569, allocations: 0.8921 MB / 0.937 GB, free: 14.3 MB / 0.7169 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.757, allocations: 49.7 kB / 0.9371 GB, free: 14.25 MB / 0.7169 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.7576, allocations: 0.6103 MB / 0.9377 GB, free: 13.63 MB / 0.7169 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.7579, allocations: 372.8 kB / 0.938 GB, free: 13.26 MB / 0.7169 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.7582, allocations: 218.8 kB / 0.9383 GB, free: 13.04 MB / 0.7169 GB
Notification: Performance of setup shared object (initialization): time 0.0001578/0.7584, allocations: 345.9 kB / 0.9386 GB, free: 12.7 MB / 0.7169 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/0.7592, allocations: 399.2 kB / 0.939 GB, free: 12.31 MB / 0.7169 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.7602, allocations: 0.5746 MB / 0.9395 GB, free: 11.68 MB / 0.7169 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.7619, allocations: 0.9527 MB / 0.9405 GB, free: 10.69 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7619, allocations: 0 / 0.9405 GB, free: 10.69 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.0027/0.7646, allocations: 1.235 MB / 0.9417 GB, free: 9.438 MB / 0.7169 GB
Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.7646, allocations: 8 kB / 0.9417 GB, free: 9.43 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7646, allocations: 4 kB / 0.9417 GB, free: 9.426 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.7652, allocations: 89.95 kB / 0.9418 GB, free: 9.336 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7663, allocations: 255.7 kB / 0.942 GB, free: 9.086 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.7685, allocations: 1.55 MB / 0.9435 GB, free: 7.422 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.7696, allocations: 139.2 kB / 0.9437 GB, free: 7.285 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.7697, allocations: 51.97 kB / 0.9437 GB, free: 7.234 MB / 0.7169 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (131):
 * Single equations (assignments): 130
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0006624/0.7704, allocations: 347.2 kB / 0.944 GB, free: 6.887 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.7706, allocations: 127.2 kB / 0.9442 GB, free: 6.762 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.7737, allocations: 1.425 MB / 0.9455 GB, free: 5.324 MB / 0.7169 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7737, allocations: 16 kB / 0.9456 GB, free: 5.309 MB / 0.7169 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.7737, allocations: 0 / 0.9456 GB, free: 5.309 MB / 0.7169 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.7737, allocations: 7.969 kB / 0.9456 GB, free: 5.301 MB / 0.7169 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.7784, allocations: 2.84 MB / 0.9483 GB, free: 2.387 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.7784, allocations: 0 / 0.9483 GB, free: 2.387 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.7794, allocations: 223.7 kB / 0.9486 GB, free: 2.168 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.7798, allocations: 76.73 kB / 0.9486 GB, free: 2.09 MB / 0.7169 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.7799, allocations: 35.91 kB / 0.9487 GB, free: 2.055 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.7819, allocations: 1.574 MB / 0.9502 GB, free: 364 kB / 0.7169 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7819, allocations: 0 / 0.9502 GB, free: 364 kB / 0.7169 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.7845, allocations: 1.331 MB / 0.9515 GB, free: 15 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/0.7851, allocations: 294.7 kB / 0.9518 GB, free: 14.71 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.7853, allocations: 27.98 kB / 0.9518 GB, free: 14.69 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000866/0.7861, allocations: 80.42 kB / 0.9519 GB, free: 14.61 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.7863, allocations: 88.83 kB / 0.952 GB, free: 14.52 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.7864, allocations: 51.97 kB / 0.952 GB, free: 14.47 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0008385/0.7872, allocations: 0.6189 MB / 0.9526 GB, free: 13.84 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 7e-08/0.7872, allocations: 0 / 0.9526 GB, free: 13.84 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.001233/0.7885, allocations: 498.8 kB / 0.9531 GB, free: 13.36 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (118):
 * Single equations (assignments): 112
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.002039/0.7905, allocations: 0.7116 MB / 0.9538 GB, free: 12.82 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.002253/0.7928, allocations: 1.109 MB / 0.9549 GB, free: 11.7 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7928, allocations: 4 kB / 0.9549 GB, free: 11.7 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.001182/0.794, allocations: 0.6328 MB / 0.9555 GB, free: 11.05 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.7959, allocations: 0.537 MB / 0.956 GB, free: 10.54 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.7999, allocations: 2.374 MB / 0.9583 GB, free: 8.137 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.8007, allocations: 1.205 MB / 0.9595 GB, free: 6.902 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.001148/0.8019, allocations: 393.8 kB / 0.9599 GB, free: 6.516 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.8022, allocations: 139.4 kB / 0.96 GB, free: 6.379 MB / 0.7325 GB
Notification: Performance of SimCode: time 8.02e-07/0.8022, allocations: 0 / 0.96 GB, free: 6.379 MB / 0.7325 GB
Notification: Performance of Templates: time 0.04126/0.8435, allocations: 25.51 MB / 0.9849 GB, free: 13.14 MB / 0.7638 GB
"
[Timeout remaining time 659]
make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.657225460745394]
Failed to read output from testmodel.py, exit status != 0:
0.8519454831257463 0.864774959 0.13598895199999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f49b656d7b0>