Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001392/0.001392, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001752/0.001752, allocations: 189.4 kB / 22.23 MB, free: 5.227 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.432/1.432, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.854/0.854, allocations: 134 MB / 440.3 MB, free: 184 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData")
translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 68.98 kB / 0.6107 GB, free: 13.64 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1902, allocations: 84.73 MB / 0.6935 GB, free: 8.984 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6224/0.8126, allocations: 176.6 MB / 0.866 GB, free: 1.684 MB / 0.6231 GB
Notification: Performance of NFInst.instExpressions: time 0.02213/0.8348, allocations: 12.88 MB / 0.8786 GB, free: 4.758 MB / 0.6387 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.8365, allocations: 43.62 kB / 0.8786 GB, free: 4.715 MB / 0.6387 GB
Notification: Performance of NFTyping.typeComponents: time 0.002008/0.8385, allocations: 464.7 kB / 0.879 GB, free: 4.258 MB / 0.6387 GB
Notification: Performance of NFTyping.typeBindings: time 0.003784/0.8423, allocations: 0.9573 MB / 0.88 GB, free: 3.301 MB / 0.6387 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.8481, allocations: 1.885 MB / 0.8818 GB, free: 1.426 MB / 0.6387 GB
Notification: Performance of NFFlatten.flatten: time 0.003594/0.8517, allocations: 2.299 MB / 0.8841 GB, free: 15.12 MB / 0.6544 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.8546, allocations: 1.271 MB / 0.8853 GB, free: 13.8 MB / 0.6544 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.8598, allocations: 1.424 MB / 0.8867 GB, free: 12.41 MB / 0.6544 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.8613, allocations: 0.8428 MB / 0.8875 GB, free: 11.57 MB / 0.6544 GB
Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.8619, allocations: 164 kB / 0.8877 GB, free: 11.41 MB / 0.6544 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.8656, allocations: 1.478 MB / 0.8891 GB, free: 9.926 MB / 0.6544 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007796/0.8664, allocations: 466.6 kB / 0.8896 GB, free: 9.469 MB / 0.6544 GB
Notification: Performance of NFVerifyModel.verify: time 0.001606/0.868, allocations: 0.8007 MB / 0.8903 GB, free: 8.664 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.005462/0.8735, allocations: 2.646 MB / 0.8929 GB, free: 6.016 MB / 0.6544 GB
Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8735, allocations: 3.938 kB / 0.8929 GB, free: 6.012 MB / 0.6544 GB
Notification: Performance of FrontEnd: time 1.312e-06/0.8735, allocations: 0 / 0.8929 GB, free: 6.012 MB / 0.6544 GB
Notification: Performance of Transformations before backend: time 7.193e-05/0.8736, allocations: 0 / 0.8929 GB, free: 6.012 MB / 0.6544 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 333
 * Number of variables: 333
Notification: Performance of Generate backend data structure: time 0.004783/0.8783, allocations: 1.895 MB / 0.8948 GB, free: 4.074 MB / 0.6544 GB
Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8784, allocations: 8.031 kB / 0.8948 GB, free: 4.066 MB / 0.6544 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.8814, allocations: 406.5 kB / 0.8952 GB, free: 3.668 MB / 0.6544 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.8836, allocations: 0.9165 MB / 0.8961 GB, free: 2.727 MB / 0.6544 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.8837, allocations: 99.5 kB / 0.8962 GB, free: 2.629 MB / 0.6544 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.884, allocations: 128 kB / 0.8963 GB, free: 2.504 MB / 0.6544 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.8875, allocations: 1.46 MB / 0.8977 GB, free: 0.9648 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.8875, allocations: 0 / 0.8977 GB, free: 0.9648 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.8876, allocations: 56 kB / 0.8978 GB, free: 0.9102 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.8877, allocations: 36 kB / 0.8978 GB, free: 0.875 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.8909, allocations: 1.536 MB / 0.8993 GB, free: 15.33 MB / 0.67 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.009015/0.8999, allocations: 4.808 MB / 0.904 GB, free: 10.27 MB / 0.67 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.9025, allocations: 1.06 MB / 0.905 GB, free: 9.203 MB / 0.67 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/0.9034, allocations: 415.6 kB / 0.9054 GB, free: 8.797 MB / 0.67 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.9041, allocations: 120.9 kB / 0.9055 GB, free: 8.68 MB / 0.67 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.9054, allocations: 0.6216 MB / 0.9062 GB, free: 8.035 MB / 0.67 GB
Notification: Performance of pre-optimization done (n=98): time 2.494e-06/0.9054, allocations: 0 / 0.9062 GB, free: 8.035 MB / 0.67 GB
Notification: Performance of matching and sorting (n=98): time 0.00439/0.9098, allocations: 1.461 MB / 0.9076 GB, free: 6.57 MB / 0.67 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.9099, allocations: 192.9 kB / 0.9078 GB, free: 6.336 MB / 0.67 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9115, allocations: 0.8504 MB / 0.9086 GB, free: 5.461 MB / 0.67 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.9116, allocations: 49.7 kB / 0.9086 GB, free: 5.406 MB / 0.67 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006696/0.9123, allocations: 0.579 MB / 0.9092 GB, free: 4.82 MB / 0.67 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.9126, allocations: 349 kB / 0.9095 GB, free: 4.477 MB / 0.67 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.913, allocations: 202.5 kB / 0.9097 GB, free: 4.273 MB / 0.67 GB
Notification: Performance of setup shared object (initialization): time 0.0001854/0.9132, allocations: 341.9 kB / 0.9101 GB, free: 3.934 MB / 0.67 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/0.9141, allocations: 365.8 kB / 0.9104 GB, free: 3.578 MB / 0.67 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.9153, allocations: 0.5286 MB / 0.9109 GB, free: 2.996 MB / 0.67 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.9173, allocations: 0.9019 MB / 0.9118 GB, free: 2.055 MB / 0.67 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.9173, allocations: 3.938 kB / 0.9118 GB, free: 2.051 MB / 0.67 GB
Notification: Performance of matching and sorting (n=121) (initialization): time 0.00314/0.9205, allocations: 1.157 MB / 0.9129 GB, free: 0.8789 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.9205, allocations: 4 kB / 0.9129 GB, free: 0.875 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.9205, allocations: 7.938 kB / 0.9129 GB, free: 0.8672 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/0.9212, allocations: 89.17 kB / 0.913 GB, free: 0.7773 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.9224, allocations: 239.6 kB / 0.9133 GB, free: 0.543 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.925, allocations: 1.557 MB / 0.9148 GB, free: 14.87 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9262, allocations: 111.2 kB / 0.9149 GB, free: 14.76 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.9263, allocations: 56.03 kB / 0.9149 GB, free: 14.71 MB / 0.6856 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (119):
 * Single equations (assignments): 118
 * 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.0007578/0.927, allocations: 331.2 kB / 0.9153 GB, free: 14.38 MB / 0.6856 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.9274, allocations: 123.2 kB / 0.9154 GB, free: 14.25 MB / 0.6856 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.931, allocations: 1.332 MB / 0.9167 GB, free: 12.91 MB / 0.6856 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.931, allocations: 15.94 kB / 0.9167 GB, free: 12.9 MB / 0.6856 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.931, allocations: 0 / 0.9167 GB, free: 12.9 MB / 0.6856 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.931, allocations: 7.984 kB / 0.9167 GB, free: 12.89 MB / 0.6856 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.006007/0.937, allocations: 2.656 MB / 0.9193 GB, free: 10.16 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9371, allocations: 4 kB / 0.9193 GB, free: 10.15 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.9382, allocations: 211.7 kB / 0.9195 GB, free: 9.945 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.9387, allocations: 72.78 kB / 0.9196 GB, free: 9.871 MB / 0.6856 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.9388, allocations: 27.98 kB / 0.9196 GB, free: 9.844 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.9411, allocations: 1.574 MB / 0.9211 GB, free: 8.145 MB / 0.6856 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9411, allocations: 0 / 0.9211 GB, free: 8.145 MB / 0.6856 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.9443, allocations: 1.229 MB / 0.9223 GB, free: 6.895 MB / 0.6856 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.9451, allocations: 266.8 kB / 0.9226 GB, free: 6.633 MB / 0.6856 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.9454, allocations: 16 kB / 0.9226 GB, free: 6.617 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.9464, allocations: 72.92 kB / 0.9227 GB, free: 6.547 MB / 0.6856 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.9466, allocations: 73 kB / 0.9227 GB, free: 6.477 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.9468, allocations: 59.95 kB / 0.9228 GB, free: 6.418 MB / 0.6856 GB
Notification: Performance of sorting global known variables: time 0.001058/0.9478, allocations: 0.5901 MB / 0.9234 GB, free: 5.816 MB / 0.6856 GB
Notification: Performance of sort global known variables: time 9e-08/0.9478, allocations: 0 / 0.9234 GB, free: 5.816 MB / 0.6856 GB
Notification: Performance of remove unused functions: time 0.001537/0.9493, allocations: 466.7 kB / 0.9238 GB, free: 5.359 MB / 0.6856 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext)
 * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (109):
 * Single equations (assignments): 106
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.00248/0.9518, allocations: 0.7166 MB / 0.9245 GB, free: 4.859 MB / 0.6856 GB
Notification: Performance of simCode: created initialization part: time 0.002726/0.9546, allocations: 1.023 MB / 0.9255 GB, free: 3.824 MB / 0.6856 GB
Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.9546, allocations: 4 kB / 0.9255 GB, free: 3.82 MB / 0.6856 GB
Notification: Performance of simCode: created simulation system equations: time 0.001454/0.956, allocations: 0.5977 MB / 0.9261 GB, free: 3.211 MB / 0.6856 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.9592, allocations: 0.5074 MB / 0.9266 GB, free: 2.738 MB / 0.6856 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.9654, allocations: 2.371 MB / 0.9289 GB, free: 340 kB / 0.6856 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.9668, allocations: 1.171 MB / 0.9301 GB, free: 15.13 MB / 0.7012 GB
Notification: Performance of simCode: alias equations: time 0.001776/0.9686, allocations: 377.3 kB / 0.9304 GB, free: 14.76 MB / 0.7012 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.9691, allocations: 135.4 kB / 0.9306 GB, free: 14.62 MB / 0.7012 GB
Notification: Performance of SimCode: time 1.533e-06/0.9691, allocations: 0 / 0.9306 GB, free: 14.62 MB / 0.7012 GB
Notification: Performance of Templates: time 0.04998/1.019, allocations: 23.77 MB / 0.9538 GB, free: 7.086 MB / 0.7169 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.30284496024251]
Failed to read output from testmodel.py, exit status != 0:
1.0287440828979015 1.0438639539999999 0.16701742800000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f94fb9597b0>