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.0009241/0.0009241, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009677/0.0009677, allocations: 173 kB / 24.15 MB, free: 352 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.9541/0.9541, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6162/0.6162, allocations: 115 MB / 376 MB, free: 7.496 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.352e-06/1.352e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.869e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3196/0.3197, allocations: 149.5 MB / 0.5646 GB, free: 316 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3326, allocations: 11.26 MB / 0.5756 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3338, allocations: 39.69 kB / 0.5757 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.3348, allocations: 345 kB / 0.576 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.3378, allocations: 1.085 MB / 0.577 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.3411, allocations: 1.51 MB / 0.5785 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003611/0.3447, allocations: 2.592 MB / 0.5811 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.3464, allocations: 1.269 MB / 0.5823 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.3494, allocations: 1.703 MB / 0.584 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.3502, allocations: 0.6865 MB / 0.5846 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3503, allocations: 172 kB / 0.5848 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.3519, allocations: 0.9319 MB / 0.5857 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.3522, allocations: 0.5061 MB / 0.5862 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.3528, allocations: 0.5963 MB / 0.5868 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.3555, allocations: 2.009 MB / 0.5887 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.3555, allocations: 0 / 0.5887 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3555, allocations: 0 / 0.5887 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.3555, allocations: 0 / 0.5887 GB, free: 7.617 MB / 0.5261 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.002169/0.3577, allocations: 1.951 MB / 0.5906 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3577, allocations: 8.031 kB / 0.5907 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.3594, allocations: 0.6019 MB / 0.5912 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3605, allocations: 0.8121 MB / 0.592 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.3606, allocations: 106.8 kB / 0.5921 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3607, allocations: 147.9 kB / 0.5923 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3621, allocations: 1.519 MB / 0.5938 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3621, allocations: 0 / 0.5938 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.3622, allocations: 60 kB / 0.5938 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.3622, allocations: 32 kB / 0.5938 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.363, allocations: 0.763 MB / 0.5946 GB, free: 1.352 MB / 0.5261 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.003639/0.3667, allocations: 2.971 MB / 0.5975 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.3674, allocations: 0.6039 MB / 0.5981 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3677, allocations: 201.2 kB / 0.5983 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.3679, allocations: 84.92 kB / 0.5984 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005588/0.3685, allocations: 0.8133 MB / 0.5991 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=115): time 2.575e-06/0.3685, allocations: 0 / 0.5991 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=115): time 0.001301/0.3698, allocations: 0.7293 MB / 0.5999 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.3699, allocations: 204.9 kB / 0.6001 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.3703, allocations: 0.638 MB / 0.6007 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.3704, allocations: 57.69 kB / 0.6007 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.3707, allocations: 0.5067 MB / 0.6012 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.3709, allocations: 388.6 kB / 0.6016 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3711, allocations: 214.7 kB / 0.6018 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3712, allocations: 353.8 kB / 0.6021 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.3714, allocations: 133.4 kB / 0.6023 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.3716, allocations: 431.5 kB / 0.6027 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.3724, allocations: 0.5011 MB / 0.6032 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3724, allocations: 0 / 0.6032 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0008299/0.3732, allocations: 0.6177 MB / 0.6038 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3733, allocations: 8 kB / 0.6038 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3733, allocations: 4.609 kB / 0.6038 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.3737, allocations: 140.8 kB / 0.6039 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.3742, allocations: 259.6 kB / 0.6042 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3754, allocations: 1.312 MB / 0.6054 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.3758, allocations: 111.3 kB / 0.6056 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.3759, allocations: 43.91 kB / 0.6056 GB, free: 5.613 MB / 0.5417 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.0003649/0.3763, allocations: 191.9 kB / 0.6058 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3764, allocations: 107.9 kB / 0.6059 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3775, allocations: 0.7856 MB / 0.6066 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.3775, allocations: 13.36 kB / 0.6067 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3775, allocations: 0 / 0.6067 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.3775, allocations: 3.984 kB / 0.6067 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.3796, allocations: 1.508 MB / 0.6081 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3796, allocations: 0 / 0.6081 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.38, allocations: 207.7 kB / 0.6083 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.3803, allocations: 114.3 kB / 0.6084 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3804, allocations: 31.97 kB / 0.6085 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3814, allocations: 1.325 MB / 0.6098 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3814, allocations: 0 / 0.6098 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3826, allocations: 0.6986 MB / 0.6105 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.3829, allocations: 190.9 kB / 0.6106 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.383, allocations: 29.45 kB / 0.6107 GB, free: 268 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3833, allocations: 60.45 kB / 0.6107 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3834, allocations: 85.14 kB / 0.6108 GB, free: 128 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.3835, allocations: 31.97 kB / 0.6108 GB, free: 96 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000289/0.3838, allocations: 323.3 kB / 0.6111 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3838, allocations: 0 / 0.6111 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001034/0.3848, allocations: 0.5181 MB / 0.6116 GB, free: 15.26 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.001741/0.3866, allocations: 0.8374 MB / 0.6125 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008471/0.3874, allocations: 0.6535 MB / 0.6131 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.3874, allocations: 12 kB / 0.6131 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3878, allocations: 449.3 kB / 0.6135 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.3888, allocations: 469.8 kB / 0.614 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3917, allocations: 2.147 MB / 0.6161 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3918, allocations: 280.2 kB / 0.6164 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000686/0.3925, allocations: 270.8 kB / 0.6166 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.3933, allocations: 458.9 kB / 0.6171 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.223e-06/0.3933, allocations: 0 / 0.6171 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.03138/0.4247, allocations: 24.76 MB / 0.6412 GB, free: 1.777 MB / 0.573 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.258085217792541]