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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 213.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9856/0.9856, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.23 kB / 0.6415 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2106, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.557/0.7676, allocations: 156 MB / 0.881 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.786, allocations: 12.06 MB / 0.8928 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.7876, allocations: 43.62 kB / 0.8928 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.7891, allocations: 472.4 kB / 0.8932 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.7928, allocations: 1.067 MB / 0.8943 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.7981, allocations: 1.912 MB / 0.8962 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00434/0.8024, allocations: 2.59 MB / 0.8987 GB, free: 6.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.8049, allocations: 1.279 MB / 0.8999 GB, free: 5.488 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.8096, allocations: 1.661 MB / 0.9016 GB, free: 3.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.811, allocations: 0.8425 MB / 0.9024 GB, free: 3.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.8113, allocations: 180 kB / 0.9026 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.814, allocations: 1.287 MB / 0.9038 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.8145, allocations: 0.5024 MB / 0.9043 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008677/0.8154, allocations: 0.7311 MB / 0.905 GB, free: 324 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.8197, allocations: 2.884 MB / 0.9078 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8197, allocations: 0 / 0.9078 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8197, allocations: 4 kB / 0.9078 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.8197, allocations: 0 / 0.9078 GB, free: 13.42 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003759/0.8235, allocations: 2.051 MB / 0.9098 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.8235, allocations: 8.031 kB / 0.9098 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.8267, allocations: 478.3 kB / 0.9103 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.8286, allocations: 0.9595 MB / 0.9112 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.8287, allocations: 110.8 kB / 0.9113 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.8289, allocations: 140 kB / 0.9115 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.832, allocations: 2.051 MB / 0.9135 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.8321, allocations: 4 kB / 0.9135 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.8322, allocations: 56 kB / 0.9135 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.8323, allocations: 36 kB / 0.9136 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.8352, allocations: 1.544 MB / 0.9151 GB, free: 5.719 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 preOpt removeSimpleEquations (simulation): time 0.007361/0.8425, allocations: 3.834 MB / 0.9188 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.8452, allocations: 1.186 MB / 0.92 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/0.8461, allocations: 461.9 kB / 0.9204 GB, free: 168 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.8468, allocations: 120.9 kB / 0.9205 GB, free: 48 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.8483, allocations: 1.064 MB / 0.9216 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=115): time 3.246e-06/0.8483, allocations: 0 / 0.9216 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=115): time 0.004387/0.8527, allocations: 1.617 MB / 0.9232 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.8529, allocations: 208.8 kB / 0.9234 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.854, allocations: 0.7746 MB / 0.9241 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.8541, allocations: 61.69 kB / 0.9242 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.8547, allocations: 0.6026 MB / 0.9248 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.855, allocations: 392.7 kB / 0.9251 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.8554, allocations: 238.8 kB / 0.9254 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.8556, allocations: 353.9 kB / 0.9257 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.8565, allocations: 426.4 kB / 0.9261 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.8577, allocations: 0.774 MB / 0.9269 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.8596, allocations: 1.002 MB / 0.9278 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8596, allocations: 0 / 0.9278 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002961/0.8626, allocations: 1.305 MB / 0.9291 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8626, allocations: 4 kB / 0.9291 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8626, allocations: 7.938 kB / 0.9291 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.8632, allocations: 89.05 kB / 0.9292 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.8644, allocations: 267 kB / 0.9295 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.8665, allocations: 1.508 MB / 0.9309 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.8676, allocations: 127.4 kB / 0.9311 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8677, allocations: 55.95 kB / 0.9311 GB, free: 4.766 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (144): * Single equations (assignments): 143 * 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.0006513/0.8683, allocations: 364 kB / 0.9315 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.8686, allocations: 111.3 kB / 0.9316 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.8719, allocations: 1.457 MB / 0.933 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.8719, allocations: 16 kB / 0.933 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8719, allocations: 3.938 kB / 0.933 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8719, allocations: 3.984 kB / 0.933 GB, free: 2.797 MB / 0.7012 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.005287/0.8772, allocations: 2.605 MB / 0.9356 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8772, allocations: 0 / 0.9356 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.8783, allocations: 227.8 kB / 0.9358 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.8788, allocations: 68.8 kB / 0.9358 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.8788, allocations: 31.97 kB / 0.9359 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.8809, allocations: 1.547 MB / 0.9374 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8809, allocations: 8.047 kB / 0.9374 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.8839, allocations: 1.362 MB / 0.9387 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/0.8846, allocations: 266.8 kB / 0.939 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8848, allocations: 31.95 kB / 0.939 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.8857, allocations: 85.03 kB / 0.9391 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.8859, allocations: 93.08 kB / 0.9392 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.886, allocations: 55.95 kB / 0.9392 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007933/0.8868, allocations: 0.5185 MB / 0.9397 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8868, allocations: 0 / 0.9397 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001359/0.8882, allocations: 0.5259 MB / 0.9402 GB, free: 11.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002321/0.8905, allocations: 0.7384 MB / 0.941 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.8931, allocations: 1.158 MB / 0.9421 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8931, allocations: 4 kB / 0.9421 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.8945, allocations: 0.6542 MB / 0.9427 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.8964, allocations: 454.2 kB / 0.9432 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.901, allocations: 2.43 MB / 0.9455 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.9018, allocations: 0.6328 MB / 0.9462 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00129/0.903, allocations: 373 kB / 0.9465 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.9034, allocations: 139.4 kB / 0.9467 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of SimCode: time 6.02e-07/0.9034, allocations: 0 / 0.9467 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of Templates: time 0.04393/0.9474, allocations: 25.09 MB / 0.9712 GB, free: 12.13 MB / 0.7481 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: 7.728668700903654] Failed to read output from testmodel.py, exit status != 0: 0.9565944075584412 0.970692102 0.14776273 Calling exit ...