Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001925/0.001925, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.002068/0.002068, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.6/1.6, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.302/3.302, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.834e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7071/0.7072, allocations: 155.9 MB / 1.153 GB, free: 2.363 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.7281, allocations: 12.03 MB / 1.165 GB, free: 10.25 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.7296, allocations: 43.97 kB / 1.165 GB, free: 10.23 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.7311, allocations: 474.3 kB / 1.166 GB, free: 9.93 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.7351, allocations: 1.086 MB / 1.167 GB, free: 9.27 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.7411, allocations: 1.942 MB / 1.169 GB, free: 8.25 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.7457, allocations: 2.599 MB / 1.171 GB, free: 6.934 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.7484, allocations: 1.214 MB / 1.172 GB, free: 6.277 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/0.7558, allocations: 2.063 MB / 1.174 GB, free: 5.371 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.7577, allocations: 0.726 MB / 1.175 GB, free: 5.109 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.758, allocations: 179.8 kB / 1.175 GB, free: 5.109 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.7617, allocations: 1.305 MB / 1.176 GB, free: 4.707 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.7625, allocations: 0.5197 MB / 1.177 GB, free: 4.391 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.7639, allocations: 0.6176 MB / 1.178 GB, free: 4.098 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.7708, allocations: 3.006 MB / 1.18 GB, free: 2.938 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7708, allocations: 2.812 kB / 1.18 GB, free: 2.938 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7708, allocations: 0 / 1.18 GB, free: 2.938 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.216e-05/0.7709, allocations: 5.344 kB / 1.181 GB, free: 2.934 MB / 1.026 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.006354/0.7773, allocations: 2.027 MB / 1.182 GB, free: 1.648 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.7773, allocations: 9.906 kB / 1.182 GB, free: 1.648 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005352/0.7827, allocations: 471.1 kB / 1.183 GB, free: 1.527 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.786, allocations: 0.976 MB / 1.184 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.7862, allocations: 111.5 kB / 1.184 GB, free: 0.8945 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.7865, allocations: 136.2 kB / 1.184 GB, free: 0.8516 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/0.7916, allocations: 2.049 MB / 1.186 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.7916, allocations: 1.125 kB / 1.186 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.7919, allocations: 65.56 kB / 1.186 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.7919, allocations: 34.06 kB / 1.186 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.7964, allocations: 1.54 MB / 1.188 GB, free: 15.07 MB / 1.042 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.01137/0.8078, allocations: 3.812 MB / 1.191 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.8119, allocations: 1.178 MB / 1.193 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.8133, allocations: 465 kB / 1.193 GB, free: 12.17 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008272/0.8142, allocations: 115 kB / 1.193 GB, free: 12.15 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002389/0.8166, allocations: 1.081 MB / 1.194 GB, free: 11.42 MB / 1.042 GB Notification: Performance of pre-optimization done (n=115): time 4.669e-06/0.8166, allocations: 0 / 1.194 GB, free: 11.42 MB / 1.042 GB Notification: Performance of matching and sorting (n=115): time 0.006707/0.8233, allocations: 1.614 MB / 1.196 GB, free: 10.84 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/0.8235, allocations: 198.4 kB / 1.196 GB, free: 10.62 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.8252, allocations: 0.7638 MB / 1.197 GB, free: 10.27 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.8255, allocations: 55.11 kB / 1.197 GB, free: 10.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009023/0.8264, allocations: 0.614 MB / 1.197 GB, free: 9.672 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/0.827, allocations: 392.2 kB / 1.198 GB, free: 9.332 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/0.8277, allocations: 229.1 kB / 1.198 GB, free: 9.199 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003003/0.828, allocations: 357 kB / 1.198 GB, free: 8.855 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.8294, allocations: 425.3 kB / 1.199 GB, free: 8.645 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.8314, allocations: 0.7808 MB / 1.199 GB, free: 8.027 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.8344, allocations: 1.005 MB / 1.2 GB, free: 7.441 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.8344, allocations: 1.375 kB / 1.2 GB, free: 7.441 MB / 1.042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004763/0.8392, allocations: 1.299 MB / 1.202 GB, free: 6.785 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.8392, allocations: 8.219 kB / 1.202 GB, free: 6.785 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.8392, allocations: 3 kB / 1.202 GB, free: 6.785 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.8401, allocations: 87.8 kB / 1.202 GB, free: 6.742 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.8421, allocations: 266.1 kB / 1.202 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.8452, allocations: 1.519 MB / 1.204 GB, free: 5.238 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.847, allocations: 125.6 kB / 1.204 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.8471, allocations: 53.34 kB / 1.204 GB, free: 5.137 MB / 1.042 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.001149/0.8483, allocations: 351.1 kB / 1.204 GB, free: 4.879 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.8487, allocations: 115.7 kB / 1.204 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/0.8537, allocations: 1.455 MB / 1.206 GB, free: 4.008 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8537, allocations: 10.97 kB / 1.206 GB, free: 4.008 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8537, allocations: 0 / 1.206 GB, free: 4.008 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.8538, allocations: 7.984 kB / 1.206 GB, free: 4 MB / 1.042 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.007664/0.8614, allocations: 2.595 MB / 1.208 GB, free: 2.371 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.8614, allocations: 3.938 kB / 1.208 GB, free: 2.367 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.8628, allocations: 218.2 kB / 1.208 GB, free: 2.32 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000678/0.8635, allocations: 76.66 kB / 1.208 GB, free: 2.281 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.8636, allocations: 36.16 kB / 1.208 GB, free: 2.254 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/0.8668, allocations: 1.548 MB / 1.21 GB, free: 0.793 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8668, allocations: 3.938 kB / 1.21 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.871, allocations: 1.359 MB / 1.211 GB, free: 48 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.872, allocations: 275.7 kB / 1.212 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.8722, allocations: 28.25 kB / 1.212 GB, free: 15.82 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.8736, allocations: 75.56 kB / 1.212 GB, free: 15.79 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.8739, allocations: 95.5 kB / 1.212 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.874, allocations: 51.97 kB / 1.212 GB, free: 15.71 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001176/0.8752, allocations: 0.5225 MB / 1.212 GB, free: 15.41 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8752, allocations: 2.531 kB / 1.212 GB, free: 15.41 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002346/0.8776, allocations: 0.5189 MB / 1.213 GB, free: 15.26 MB / 1.057 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 (125): * Single equations (assignments): 114 * 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.004988/0.8825, allocations: 0.7564 MB / 1.214 GB, free: 14.91 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.8865, allocations: 1.154 MB / 1.215 GB, free: 14.32 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.8866, allocations: 2.688 kB / 1.215 GB, free: 14.32 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.888, allocations: 0.6472 MB / 1.215 GB, free: 13.96 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8906, allocations: 453.6 kB / 1.216 GB, free: 13.72 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.8976, allocations: 2.383 MB / 1.218 GB, free: 12.32 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.8986, allocations: 0.6337 MB / 1.219 GB, free: 11.96 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.002309/0.9009, allocations: 371.5 kB / 1.219 GB, free: 11.78 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.9015, allocations: 140.2 kB / 1.219 GB, free: 11.74 MB / 1.057 GB Notification: Performance of SimCode: time 9.02e-07/0.9015, allocations: 6.312 kB / 1.219 GB, free: 11.73 MB / 1.057 GB Notification: Performance of Templates: time 0.05219/0.9537, allocations: 22.94 MB / 1.242 GB, free: 5.355 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.010910536162555]