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.001302/0.001302, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001413/0.001413, allocations: 162.3 kB / 23.76 MB, free: 4.195 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.566/1.566, allocations: 177.2 MB / 204.1 MB, free: 9.008 MB / 190.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.91/0.91, allocations: 113.9 MB / 374.5 MB, free: 12.92 MB / 350.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.0023/0.0023, allocations: 68.33 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1715, allocations: 89.14 MB / 0.6421 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5213/0.6928, allocations: 156 MB / 0.7944 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.7109, allocations: 12.06 MB / 0.8062 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.7122, allocations: 43.62 kB / 0.8062 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.7136, allocations: 480.4 kB / 0.8067 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.7169, allocations: 1.062 MB / 0.8077 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.7219, allocations: 1.907 MB / 0.8096 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.7255, allocations: 2.566 MB / 0.8121 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.7276, allocations: 1.26 MB / 0.8133 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/0.7326, allocations: 1.643 MB / 0.8149 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.7342, allocations: 0.8282 MB / 0.8158 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.7346, allocations: 176 kB / 0.8159 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.7376, allocations: 1.287 MB / 0.8172 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006261/0.7383, allocations: 0.4946 MB / 0.8177 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.7393, allocations: 0.7233 MB / 0.8184 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.744, allocations: 2.844 MB / 0.8211 GB, free: 11.09 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.744, allocations: 0 / 0.8211 GB, free: 11.09 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7441, allocations: 3.938 kB / 0.8211 GB, free: 11.09 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.005e-05/0.7441, allocations: 0 / 0.8211 GB, free: 11.09 MB / 0.67 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.004019/0.7481, allocations: 2.02 MB / 0.8231 GB, free: 9.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7482, allocations: 15.97 kB / 0.8231 GB, free: 9.008 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.7517, allocations: 466.4 kB / 0.8236 GB, free: 8.551 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.7539, allocations: 0.9633 MB / 0.8245 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.754, allocations: 102.7 kB / 0.8246 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.7542, allocations: 132 kB / 0.8247 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.7575, allocations: 2.03 MB / 0.8267 GB, free: 5.102 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.7575, allocations: 3.938 kB / 0.8267 GB, free: 5.098 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.7577, allocations: 60 kB / 0.8268 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.7577, allocations: 32 kB / 0.8268 GB, free: 5.008 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.7606, allocations: 1.536 MB / 0.8283 GB, free: 3.465 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.00756/0.7682, allocations: 3.771 MB / 0.832 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.7709, allocations: 1.142 MB / 0.8331 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009122/0.7718, allocations: 449.1 kB / 0.8335 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.7725, allocations: 116.9 kB / 0.8337 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.7741, allocations: 1.047 MB / 0.8347 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.7741, allocations: 0 / 0.8347 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107): time 0.004749/0.7788, allocations: 1.582 MB / 0.8362 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.779, allocations: 200.9 kB / 0.8364 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7802, allocations: 0.7629 MB / 0.8372 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.7804, allocations: 49.7 kB / 0.8372 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/0.781, allocations: 0.6141 MB / 0.8378 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.7814, allocations: 372.8 kB / 0.8382 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.7818, allocations: 218.8 kB / 0.8384 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.782, allocations: 345.9 kB / 0.8387 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.7829, allocations: 398.4 kB / 0.8391 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.7842, allocations: 0.7425 MB / 0.8398 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.7862, allocations: 0.9605 MB / 0.8407 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7862, allocations: 0 / 0.8407 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00308/0.7893, allocations: 1.22 MB / 0.8419 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.7893, allocations: 12.06 kB / 0.8419 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7893, allocations: 0 / 0.8419 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006662/0.79, allocations: 84.78 kB / 0.842 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.7912, allocations: 263.6 kB / 0.8423 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.7935, allocations: 1.518 MB / 0.8438 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7946, allocations: 111.5 kB / 0.8439 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.7948, allocations: 51.97 kB / 0.8439 GB, free: 2.953 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: 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.000746/0.7955, allocations: 358.7 kB / 0.8443 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.7958, allocations: 111.3 kB / 0.8444 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.7992, allocations: 1.432 MB / 0.8458 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.7992, allocations: 12 kB / 0.8458 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.7992, allocations: 0 / 0.8458 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7992, allocations: 3.984 kB / 0.8458 GB, free: 1.023 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.004903/0.8041, allocations: 2.415 MB / 0.8481 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8041, allocations: 0 / 0.8481 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.8051, allocations: 223.7 kB / 0.8484 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.8056, allocations: 72.78 kB / 0.8484 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.8057, allocations: 35.97 kB / 0.8485 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.8077, allocations: 1.544 MB / 0.85 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8077, allocations: 0 / 0.85 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.8107, allocations: 1.322 MB / 0.8513 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.8113, allocations: 270.8 kB / 0.8515 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.8114, allocations: 27.98 kB / 0.8515 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.8123, allocations: 79.92 kB / 0.8516 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.8125, allocations: 88.83 kB / 0.8517 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.8126, allocations: 47.97 kB / 0.8517 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007762/0.8134, allocations: 0.5263 MB / 0.8523 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8134, allocations: 0 / 0.8523 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001328/0.8147, allocations: 0.5142 MB / 0.8528 GB, free: 9.703 MB / 0.7012 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.002239/0.817, allocations: 0.7295 MB / 0.8535 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.8194, allocations: 1.116 MB / 0.8546 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8194, allocations: 4 kB / 0.8546 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.8206, allocations: 0.6295 MB / 0.8552 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.8225, allocations: 451.1 kB / 0.8556 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.8267, allocations: 2.386 MB / 0.8579 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.8274, allocations: 0.6244 MB / 0.8586 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001166/0.8286, allocations: 368.7 kB / 0.8589 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.829, allocations: 140.4 kB / 0.859 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of SimCode: time 7.01e-07/0.829, allocations: 3.938 kB / 0.859 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of Templates: time 0.03981/0.8688, allocations: 22.79 MB / 0.8813 GB, free: 13.02 MB / 0.7325 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.07972695492208] Failed to read output from testmodel.py, exit status != 0: 0.8783125700429082 0.893063607 0.145628758 Calling exit ...