Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001482/0.001482, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001918/0.001918, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9837/0.9837, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001685/0.001685, allocations: 232.7 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7852/0.7852, allocations: 138.4 MB / 455.2 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.33e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3753/0.3753, allocations: 150.2 MB / 0.7018 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.3912, allocations: 11.23 MB / 0.7127 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.3926, allocations: 39.69 kB / 0.7128 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.3935, allocations: 349 kB / 0.7131 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3958, allocations: 1.095 MB / 0.7142 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.3985, allocations: 1.503 MB / 0.7157 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.4009, allocations: 2.582 MB / 0.7182 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.4025, allocations: 1.32 MB / 0.7195 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.405, allocations: 1.702 MB / 0.7211 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.4058, allocations: 0.7066 MB / 0.7218 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.406, allocations: 160 kB / 0.722 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.4075, allocations: 0.9396 MB / 0.7229 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.4078, allocations: 0.4906 MB / 0.7234 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.4083, allocations: 0.5962 MB / 0.7239 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.4106, allocations: 1.989 MB / 0.7259 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4106, allocations: 0 / 0.7259 GB, free: 14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4106, allocations: 0 / 0.7259 GB, free: 14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.4107, allocations: 0 / 0.7259 GB, free: 14 MB / 0.5417 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.002303/0.413, allocations: 2.067 MB / 0.7279 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.413, allocations: 16.69 kB / 0.7279 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.4149, allocations: 0.6457 MB / 0.7286 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.416, allocations: 0.9876 MB / 0.7295 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.4161, allocations: 98.72 kB / 0.7296 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4162, allocations: 143.9 kB / 0.7297 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4178, allocations: 1.611 MB / 0.7313 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4178, allocations: 0 / 0.7313 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.4179, allocations: 65.38 kB / 0.7314 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.4179, allocations: 32 kB / 0.7314 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4192, allocations: 1.033 MB / 0.7324 GB, free: 7.004 MB / 0.5417 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.003982/0.4232, allocations: 4.033 MB / 0.7364 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.4243, allocations: 0.7199 MB / 0.7371 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.4246, allocations: 270.1 kB / 0.7373 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.4249, allocations: 92.91 kB / 0.7374 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007501/0.4257, allocations: 0.8458 MB / 0.7382 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=107): time 2.545e-06/0.4257, allocations: 0 / 0.7382 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of matching and sorting (n=107): time 0.002007/0.4277, allocations: 1.074 MB / 0.7393 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.4277, allocations: 192.9 kB / 0.7395 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.4283, allocations: 0.7109 MB / 0.7402 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.4284, allocations: 49.7 kB / 0.7402 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.4287, allocations: 0.6597 MB / 0.7409 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.4289, allocations: 372.8 kB / 0.7412 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4292, allocations: 224.5 kB / 0.7414 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4293, allocations: 0.516 MB / 0.7419 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.4296, allocations: 186.4 kB / 0.7421 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.43, allocations: 0.5134 MB / 0.7426 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.4307, allocations: 0.5909 MB / 0.7432 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.4307, allocations: 0 / 0.7432 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001257/0.432, allocations: 0.8711 MB / 0.744 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.432, allocations: 4 kB / 0.744 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.432, allocations: 4 kB / 0.744 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.4325, allocations: 139.9 kB / 0.7442 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.433, allocations: 247.7 kB / 0.7444 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.4344, allocations: 1.906 MB / 0.7463 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.4348, allocations: 100.5 kB / 0.7464 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.4349, allocations: 56 kB / 0.7464 GB, free: 8.074 MB / 0.5573 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.0002648/0.4351, allocations: 226.3 kB / 0.7466 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.4353, allocations: 147.3 kB / 0.7468 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.4367, allocations: 1.047 MB / 0.7478 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4368, allocations: 12 kB / 0.7478 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4368, allocations: 3.938 kB / 0.7478 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4368, allocations: 3.984 kB / 0.7478 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.4391, allocations: 1.98 MB / 0.7498 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4391, allocations: 3.984 kB / 0.7498 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.4396, allocations: 211.7 kB / 0.75 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.44, allocations: 123.5 kB / 0.7501 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.44, allocations: 31.98 kB / 0.7501 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4412, allocations: 1.925 MB / 0.752 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.4412, allocations: 0 / 0.752 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4424, allocations: 1.037 MB / 0.753 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.4428, allocations: 270.7 kB / 0.7533 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4429, allocations: 28 kB / 0.7533 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.4432, allocations: 50.31 kB / 0.7533 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4433, allocations: 84.83 kB / 0.7534 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.4434, allocations: 47.97 kB / 0.7535 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003866/0.4438, allocations: 474.8 kB / 0.7539 GB, free: 204 kB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4438, allocations: 0 / 0.7539 GB, free: 204 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009648/0.4447, allocations: 0.5142 MB / 0.7544 GB, free: 15.68 MB / 0.573 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.00141/0.4462, allocations: 0.7003 MB / 0.7551 GB, free: 15.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.4473, allocations: 0.8165 MB / 0.7559 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4473, allocations: 0 / 0.7559 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.4479, allocations: 0.5555 MB / 0.7564 GB, free: 13.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.449, allocations: 494.5 kB / 0.7569 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.4523, allocations: 2.161 MB / 0.759 GB, free: 11.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.4525, allocations: 272.1 kB / 0.7593 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007627/0.4533, allocations: 356.5 kB / 0.7596 GB, free: 10.51 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.4535, allocations: 132.4 kB / 0.7597 GB, free: 10.38 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/0.4535, allocations: 0 / 0.7597 GB, free: 10.38 MB / 0.573 GB Notification: Performance of Templates: time 0.02611/0.4796, allocations: 23.96 MB / 0.7831 GB, free: 2.82 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.020918420050293]