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.001222/0.001222, allocations: 84.64 kB / 19.94 MB, free: 1.777 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.0016/0.0016, allocations: 163.1 kB / 23.21 MB, free: 4.902 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.378/1.378, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8878/0.8878, allocations: 114 MB / 373.9 MB, free: 13.24 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.76e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5043/0.5043, allocations: 155.9 MB / 0.7069 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.5185, allocations: 12.03 MB / 0.7186 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.5198, allocations: 42.22 kB / 0.7187 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5209, allocations: 477.4 kB / 0.7191 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.524, allocations: 1.089 MB / 0.7202 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.5285, allocations: 1.948 MB / 0.7221 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.5315, allocations: 2.603 MB / 0.7246 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.5331, allocations: 1.212 MB / 0.7258 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.5374, allocations: 2.055 MB / 0.7278 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5384, allocations: 0.7321 MB / 0.7286 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.5387, allocations: 178.8 kB / 0.7287 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.5412, allocations: 1.308 MB / 0.73 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.5415, allocations: 0.5135 MB / 0.7305 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.5422, allocations: 0.6198 MB / 0.7311 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.5455, allocations: 3.009 MB / 0.734 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5456, allocations: 2.344 kB / 0.734 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5456, allocations: 0 / 0.734 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.5456, allocations: 0.875 kB / 0.734 GB, free: 4.969 MB / 0.5919 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.002884/0.5485, allocations: 2.035 MB / 0.736 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5485, allocations: 9.406 kB / 0.736 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.5514, allocations: 466.8 kB / 0.7365 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.5528, allocations: 0.9663 MB / 0.7374 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.5528, allocations: 109.5 kB / 0.7375 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.553, allocations: 139.9 kB / 0.7377 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.5551, allocations: 2.045 MB / 0.7397 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5551, allocations: 14.5 kB / 0.7397 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5553, allocations: 58.34 kB / 0.7397 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.5553, allocations: 33.19 kB / 0.7398 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.5574, allocations: 1.545 MB / 0.7413 GB, free: 2.695 MB / 0.5919 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.005095/0.5625, allocations: 3.807 MB / 0.745 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5646, allocations: 1.192 MB / 0.7462 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.5653, allocations: 459.2 kB / 0.7466 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.5658, allocations: 113.7 kB / 0.7467 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.5669, allocations: 1.062 MB / 0.7477 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=115): time 2.675e-06/0.5669, allocations: 0 / 0.7477 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=115): time 0.003666/0.5706, allocations: 1.621 MB / 0.7493 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.5707, allocations: 207.5 kB / 0.7495 GB, free: 444 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.5715, allocations: 0.7565 MB / 0.7503 GB, free: 300 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.5716, allocations: 56.42 kB / 0.7503 GB, free: 268 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.5719, allocations: 0.6122 MB / 0.7509 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.5723, allocations: 392.8 kB / 0.7513 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.5726, allocations: 230.5 kB / 0.7515 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5727, allocations: 346.1 kB / 0.7518 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/0.5734, allocations: 426.8 kB / 0.7522 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.5744, allocations: 0.7734 MB / 0.753 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.576, allocations: 1.003 MB / 0.754 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.576, allocations: 2.594 kB / 0.754 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002634/0.5787, allocations: 1.308 MB / 0.7553 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5787, allocations: 6.281 kB / 0.7553 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5787, allocations: 2.719 kB / 0.7553 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.5793, allocations: 87.66 kB / 0.7554 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5803, allocations: 263.5 kB / 0.7556 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.5824, allocations: 1.531 MB / 0.7571 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.5833, allocations: 130.5 kB / 0.7572 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.5834, allocations: 54.81 kB / 0.7573 GB, free: 12.87 MB / 0.6075 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0006375/0.5841, allocations: 370.9 kB / 0.7576 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.5843, allocations: 112.5 kB / 0.7577 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.5872, allocations: 1.455 MB / 0.7592 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5872, allocations: 11.69 kB / 0.7592 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5872, allocations: 0 / 0.7592 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5872, allocations: 9.281 kB / 0.7592 GB, free: 12 MB / 0.6075 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.004488/0.5917, allocations: 2.591 MB / 0.7617 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5917, allocations: 0 / 0.7617 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.5926, allocations: 225.9 kB / 0.7619 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.593, allocations: 74.14 kB / 0.762 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.5931, allocations: 38.86 kB / 0.762 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.595, allocations: 1.534 MB / 0.7635 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.595, allocations: 0 / 0.7635 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.5975, allocations: 1.36 MB / 0.7649 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.598, allocations: 276.8 kB / 0.7651 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.5982, allocations: 24.8 kB / 0.7651 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.599, allocations: 87.12 kB / 0.7652 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5992, allocations: 93.2 kB / 0.7653 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.617e-05/0.5993, allocations: 54 kB / 0.7654 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006183/0.5999, allocations: 0.5198 MB / 0.7659 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5999, allocations: 0 / 0.7659 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001188/0.6011, allocations: 0.5235 MB / 0.7664 GB, free: 8.234 MB / 0.6075 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.002158/0.6033, allocations: 0.753 MB / 0.7671 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6055, allocations: 1.155 MB / 0.7683 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6055, allocations: 3.781 kB / 0.7683 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6066, allocations: 0.6545 MB / 0.7689 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6083, allocations: 438.2 kB / 0.7693 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.612, allocations: 2.382 MB / 0.7716 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.6126, allocations: 0.6282 MB / 0.7723 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001039/0.6136, allocations: 374.2 kB / 0.7726 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.614, allocations: 140.8 kB / 0.7727 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.614, allocations: 5.594 kB / 0.7727 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.03812/0.6521, allocations: 22.92 MB / 0.7951 GB, free: 2.383 MB / 0.6231 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.609628032892942] Failed to read output from testmodel.py, exit status != 0: 0.6610634289681911 0.674836231 0.12632079200000002 Calling exit ...