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.000763/0.000763, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007632/0.0007632, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8896/0.8896, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001571/0.001571, allocations: 239.9 kB / 260.2 MB, free: 13.02 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.6711/0.6711, allocations: 138.4 MB / 455.1 MB, free: 29.93 MB / 410.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 1.823e-06/1.823e-06, allocations: 0 / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.162e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3795/0.3795, allocations: 155.9 MB / 0.7998 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.3919, allocations: 12.02 MB / 0.8115 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.3934, allocations: 39.69 kB / 0.8115 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3946, allocations: 484.1 kB / 0.812 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.3972, allocations: 1.106 MB / 0.8131 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.4011, allocations: 1.937 MB / 0.815 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002779/0.4038, allocations: 2.596 MB / 0.8175 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.4054, allocations: 1.276 MB / 0.8187 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.409, allocations: 1.909 MB / 0.8206 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.4098, allocations: 0.7303 MB / 0.8213 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.41, allocations: 172 kB / 0.8215 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.4122, allocations: 1.296 MB / 0.8228 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.4125, allocations: 0.5101 MB / 0.8233 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.413, allocations: 0.604 MB / 0.8238 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.4164, allocations: 2.987 MB / 0.8268 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4164, allocations: 0 / 0.8268 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4164, allocations: 0 / 0.8268 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.4164, allocations: 0 / 0.8268 GB, free: 3.043 MB / 0.6511 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.0025/0.4189, allocations: 2.016 MB / 0.8287 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.419, allocations: 12.75 kB / 0.8287 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.4206, allocations: 462.5 kB / 0.8292 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.4217, allocations: 0.9633 MB / 0.8301 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.4218, allocations: 106.7 kB / 0.8302 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4219, allocations: 132 kB / 0.8303 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4238, allocations: 2.032 MB / 0.8323 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4238, allocations: 0 / 0.8323 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.4239, allocations: 60 kB / 0.8324 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.424, allocations: 32 kB / 0.8324 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.4256, allocations: 1.542 MB / 0.8339 GB, free: 11.42 MB / 0.6667 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.004253/0.4299, allocations: 3.766 MB / 0.8376 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.4314, allocations: 1.15 MB / 0.8387 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.4319, allocations: 444.5 kB / 0.8391 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.4322, allocations: 116.9 kB / 0.8393 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009045/0.4331, allocations: 1.04 MB / 0.8403 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 3.296e-06/0.4331, allocations: 0 / 0.8403 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.002663/0.4358, allocations: 1.586 MB / 0.8418 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.4359, allocations: 192.9 kB / 0.842 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.4366, allocations: 0.7669 MB / 0.8428 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.4366, allocations: 49.7 kB / 0.8428 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.437, allocations: 0.618 MB / 0.8434 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.4372, allocations: 364.8 kB / 0.8438 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4374, allocations: 210.9 kB / 0.844 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.4375, allocations: 349.9 kB / 0.8443 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.438, allocations: 399.3 kB / 0.8447 GB, free: 152 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.4386, allocations: 0.7541 MB / 0.8454 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4397, allocations: 0.9488 MB / 0.8463 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4397, allocations: 4 kB / 0.8463 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001585/0.4413, allocations: 1.224 MB / 0.8475 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4413, allocations: 8.406 kB / 0.8475 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4413, allocations: 8 kB / 0.8476 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.4417, allocations: 84.77 kB / 0.8476 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.4422, allocations: 262.4 kB / 0.8479 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.4437, allocations: 1.511 MB / 0.8494 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.4442, allocations: 121.7 kB / 0.8495 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.4442, allocations: 55.95 kB / 0.8495 GB, free: 10.92 MB / 0.6823 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.0004756/0.4447, allocations: 344.3 kB / 0.8499 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4448, allocations: 119.2 kB / 0.85 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.4467, allocations: 1.423 MB / 0.8514 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.4467, allocations: 12 kB / 0.8514 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.4467, allocations: 0 / 0.8514 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4467, allocations: 15.91 kB / 0.8514 GB, free: 9 MB / 0.6823 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.002813/0.4495, allocations: 2.408 MB / 0.8537 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4495, allocations: 3.984 kB / 0.8537 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.45, allocations: 215.8 kB / 0.8539 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.4502, allocations: 72.78 kB / 0.854 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.4502, allocations: 31.98 kB / 0.854 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.4514, allocations: 1.551 MB / 0.8556 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4514, allocations: 3.938 kB / 0.8556 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.453, allocations: 1.315 MB / 0.8568 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.4533, allocations: 270.8 kB / 0.8571 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.4534, allocations: 24 kB / 0.8571 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.4539, allocations: 78.56 kB / 0.8572 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.454, allocations: 88.83 kB / 0.8573 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.4541, allocations: 55.95 kB / 0.8573 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004719/0.4545, allocations: 0.5224 MB / 0.8579 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.4545, allocations: 0 / 0.8579 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001034/0.4556, allocations: 0.518 MB / 0.8584 GB, free: 1.695 MB / 0.6823 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.001298/0.4569, allocations: 0.7541 MB / 0.8591 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.4583, allocations: 1.105 MB / 0.8602 GB, free: 64 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4583, allocations: 4 kB / 0.8602 GB, free: 60 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.459, allocations: 0.6372 MB / 0.8608 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4601, allocations: 447.2 kB / 0.8612 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.4633, allocations: 2.43 MB / 0.8636 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.4637, allocations: 0.6204 MB / 0.8642 GB, free: 11.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.464, allocations: 164.3 kB / 0.8644 GB, free: 11.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.464, allocations: 0 / 0.8644 GB, free: 11.72 MB / 0.698 GB Notification: Performance of Templates: time 0.02549/0.4895, allocations: 28.3 MB / 0.892 GB, free: 15.54 MB / 0.7292 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.105019395239651] Failed to read output from testmodel.py, exit status != 0: 0.49543218594044447 0.503969779 0.08565548999999995 Calling exit ...