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.0009937/0.0009937, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001112/0.001112, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9595/0.9595, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.6075/0.6075, allocations: 115 MB / 376 MB, free: 7.52 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 482 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.597e-05, allocations: 4.25 kB / 482 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1369/0.1369, allocations: 147.4 MB / 0.6146 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1485, allocations: 11.08 MB / 0.6254 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.1493, allocations: 47.62 kB / 0.6254 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.15, allocations: 345 kB / 0.6258 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1522, allocations: 1.079 MB / 0.6268 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.1548, allocations: 1.503 MB / 0.6283 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1571, allocations: 2.598 MB / 0.6308 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.1586, allocations: 1.259 MB / 0.6321 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.1611, allocations: 1.698 MB / 0.6337 GB, free: 424 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007463/0.1618, allocations: 0.7127 MB / 0.6344 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.162, allocations: 168 kB / 0.6346 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1633, allocations: 0.9435 MB / 0.6355 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.1637, allocations: 0.5023 MB / 0.636 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.1642, allocations: 0.5963 MB / 0.6366 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.1667, allocations: 2.016 MB / 0.6385 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1667, allocations: 0 / 0.6385 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1667, allocations: 0 / 0.6385 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.1667, allocations: 0 / 0.6385 GB, free: 11.46 MB / 0.5573 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.002337/0.169, allocations: 2.097 MB / 0.6406 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1691, allocations: 12.02 kB / 0.6406 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.1713, allocations: 0.6418 MB / 0.6412 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1725, allocations: 0.9759 MB / 0.6422 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.1726, allocations: 110.7 kB / 0.6423 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.1727, allocations: 148 kB / 0.6424 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1742, allocations: 1.533 MB / 0.6439 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1742, allocations: 0 / 0.6439 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.1743, allocations: 64 kB / 0.644 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.1743, allocations: 32 kB / 0.644 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1757, allocations: 0.8825 MB / 0.6449 GB, free: 4.668 MB / 0.5573 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.004115/0.1798, allocations: 3.934 MB / 0.6487 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2541/0.4339, allocations: 0.681 MB / 0.6494 GB, free: 40.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.4345, allocations: 227.6 kB / 0.6496 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.4348, allocations: 121.5 kB / 0.6497 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007325/0.4355, allocations: 0.8214 MB / 0.6505 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=115): time 3.527e-06/0.4356, allocations: 0 / 0.6505 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=115): time 0.002035/0.4376, allocations: 0.9946 MB / 0.6515 GB, free: 39.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4376, allocations: 204.2 kB / 0.6517 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.4383, allocations: 0.6944 MB / 0.6524 GB, free: 39.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.4384, allocations: 56.52 kB / 0.6524 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.4387, allocations: 0.6606 MB / 0.6531 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.4389, allocations: 402.2 kB / 0.6534 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.4391, allocations: 239.2 kB / 0.6537 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4393, allocations: 0.5294 MB / 0.6542 GB, free: 38.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.4395, allocations: 149.9 kB / 0.6543 GB, free: 38.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.4399, allocations: 0.4912 MB / 0.6548 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.4404, allocations: 0.5477 MB / 0.6553 GB, free: 37.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4404, allocations: 3.5 kB / 0.6554 GB, free: 37.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001051/0.4415, allocations: 0.8419 MB / 0.6562 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4415, allocations: 7.469 kB / 0.6562 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4415, allocations: 4.25 kB / 0.6562 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.4419, allocations: 129.7 kB / 0.6563 GB, free: 37.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.4425, allocations: 277.6 kB / 0.6566 GB, free: 37.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.4436, allocations: 1.887 MB / 0.6584 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.444, allocations: 109.9 kB / 0.6585 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.4441, allocations: 45.31 kB / 0.6586 GB, free: 35.82 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: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003261/0.4444, allocations: 235.8 kB / 0.6588 GB, free: 35.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4446, allocations: 151.4 kB / 0.6589 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.4458, allocations: 0.9961 MB / 0.6599 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4458, allocations: 15.56 kB / 0.6599 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4458, allocations: 1.031 kB / 0.6599 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4458, allocations: 8.656 kB / 0.6599 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.4478, allocations: 1.902 MB / 0.6618 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4479, allocations: 2.297 kB / 0.6618 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.4483, allocations: 218.5 kB / 0.662 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.4487, allocations: 112.7 kB / 0.6621 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.4487, allocations: 40.16 kB / 0.6621 GB, free: 35.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009234/0.4497, allocations: 1.892 MB / 0.664 GB, free: 33.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4497, allocations: 0 / 0.664 GB, free: 33.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4508, allocations: 1.008 MB / 0.665 GB, free: 33.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.4511, allocations: 257.3 kB / 0.6652 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.4512, allocations: 25.34 kB / 0.6652 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.4516, allocations: 61.52 kB / 0.6653 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4517, allocations: 94.02 kB / 0.6654 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.4518, allocations: 44.19 kB / 0.6654 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000299/0.4521, allocations: 432.6 kB / 0.6658 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4521, allocations: 0 / 0.6658 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001116/0.4532, allocations: 0.5222 MB / 0.6664 GB, free: 32.79 MB / 0.5573 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.001364/0.4545, allocations: 0.694 MB / 0.667 GB, free: 32.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009011/0.4554, allocations: 0.7798 MB / 0.6678 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4555, allocations: 0 / 0.6678 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.4559, allocations: 0.528 MB / 0.6683 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4569, allocations: 485 kB / 0.6688 GB, free: 32.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.4599, allocations: 2.155 MB / 0.6709 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4601, allocations: 274.9 kB / 0.6711 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007809/0.4608, allocations: 260.5 kB / 0.6714 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000949/0.4618, allocations: 0.5352 MB / 0.6719 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.313e-06/0.4618, allocations: 0 / 0.6719 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.03185/0.4936, allocations: 24.74 MB / 0.6961 GB, free: 27.03 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5347059280611575]