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.0008421/0.0008421, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000928/0.000928, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8394/0.8394, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.5547/0.5547, allocations: 114 MB / 374.7 MB, free: 8.711 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.633e-06/1.633e-06, allocations: 0 / 0.5554 GB, free: 1.18 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.004e-05, allocations: 8.25 kB / 0.5554 GB, free: 1.172 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4259/0.426, allocations: 155.9 MB / 0.7077 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.4367, allocations: 12.01 MB / 0.7194 GB, free: 14.52 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009277/0.4376, allocations: 45.06 kB / 0.7194 GB, free: 14.5 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4386, allocations: 484.7 kB / 0.7199 GB, free: 14.12 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.4407, allocations: 1.094 MB / 0.721 GB, free: 13.26 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.4439, allocations: 1.934 MB / 0.7229 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.4457, allocations: 2.598 MB / 0.7254 GB, free: 10.23 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.4467, allocations: 1.219 MB / 0.7266 GB, free: 9.309 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.4494, allocations: 2.063 MB / 0.7286 GB, free: 8.031 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/0.45, allocations: 0.7343 MB / 0.7293 GB, free: 7.594 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.4501, allocations: 178.7 kB / 0.7295 GB, free: 7.594 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.4519, allocations: 1.299 MB / 0.7308 GB, free: 6.984 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.4523, allocations: 0.5279 MB / 0.7313 GB, free: 6.574 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.4527, allocations: 0.6141 MB / 0.7319 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.4552, allocations: 3.009 MB / 0.7348 GB, free: 4.172 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4552, allocations: 3.984 kB / 0.7348 GB, free: 4.168 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4552, allocations: 0 / 0.7348 GB, free: 4.168 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.4552, allocations: 0 / 0.7348 GB, free: 4.168 MB / 0.573 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.002219/0.4575, allocations: 2.028 MB / 0.7368 GB, free: 2.652 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4575, allocations: 11.52 kB / 0.7368 GB, free: 2.648 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.4591, allocations: 467.7 kB / 0.7372 GB, free: 2.438 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.4602, allocations: 0.9785 MB / 0.7382 GB, free: 1.695 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.4602, allocations: 109.9 kB / 0.7383 GB, free: 1.645 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.4603, allocations: 137.1 kB / 0.7384 GB, free: 1.602 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.4622, allocations: 2.04 MB / 0.7404 GB, free: 0 / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4622, allocations: 10.61 kB / 0.7404 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.4623, allocations: 57.16 kB / 0.7405 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.4623, allocations: 38.98 kB / 0.7405 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.464, allocations: 1.538 MB / 0.742 GB, free: 15.18 MB / 0.5886 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.003903/0.4679, allocations: 3.818 MB / 0.7458 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.4696, allocations: 1.191 MB / 0.7469 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.4701, allocations: 460.3 kB / 0.7474 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.4704, allocations: 114.1 kB / 0.7475 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008455/0.4712, allocations: 1.067 MB / 0.7485 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.174e-06/0.4712, allocations: 3.938 kB / 0.7485 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.002382/0.4736, allocations: 1.612 MB / 0.7501 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.4737, allocations: 198.4 kB / 0.7503 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.4743, allocations: 0.764 MB / 0.751 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.4744, allocations: 56.23 kB / 0.7511 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.4747, allocations: 0.6157 MB / 0.7517 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4749, allocations: 388.6 kB / 0.7521 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.4751, allocations: 233 kB / 0.7523 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.4752, allocations: 357 kB / 0.7526 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.4757, allocations: 423.5 kB / 0.753 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.4763, allocations: 0.7726 MB / 0.7538 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4774, allocations: 0.9979 MB / 0.7547 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4774, allocations: 2.875 kB / 0.7548 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001564/0.4789, allocations: 1.306 MB / 0.756 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.479, allocations: 5.156 kB / 0.756 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.479, allocations: 2.812 kB / 0.756 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.4793, allocations: 97.11 kB / 0.7561 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.4798, allocations: 258.8 kB / 0.7564 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.4812, allocations: 1.52 MB / 0.7579 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.4816, allocations: 125.5 kB / 0.758 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.4817, allocations: 55.97 kB / 0.758 GB, free: 3.652 MB / 0.5886 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.0003595/0.482, allocations: 360.1 kB / 0.7584 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4822, allocations: 111.3 kB / 0.7585 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.4839, allocations: 1.455 MB / 0.7599 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4839, allocations: 12 kB / 0.7599 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4839, allocations: 0 / 0.7599 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.4839, allocations: 7.922 kB / 0.7599 GB, free: 1.691 MB / 0.5886 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.002742/0.4867, allocations: 2.599 MB / 0.7625 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4867, allocations: 4 kB / 0.7625 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.4872, allocations: 219.7 kB / 0.7627 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.4873, allocations: 76.78 kB / 0.7627 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.4874, allocations: 31.97 kB / 0.7628 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.4886, allocations: 1.547 MB / 0.7643 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4886, allocations: 0 / 0.7643 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4901, allocations: 1.358 MB / 0.7656 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.4904, allocations: 266.8 kB / 0.7659 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.4905, allocations: 31.92 kB / 0.7659 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.4909, allocations: 87.98 kB / 0.766 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.491, allocations: 89.14 kB / 0.7661 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.4911, allocations: 51.95 kB / 0.7661 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004218/0.4915, allocations: 0.5263 MB / 0.7666 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.4915, allocations: 0 / 0.7666 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008332/0.4923, allocations: 0.5181 MB / 0.7671 GB, free: 10.12 MB / 0.6042 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.001198/0.4935, allocations: 0.7541 MB / 0.7679 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.4949, allocations: 1.161 MB / 0.769 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4949, allocations: 4.75 kB / 0.769 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.4956, allocations: 0.6464 MB / 0.7696 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.4965, allocations: 447.5 kB / 0.7701 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.4992, allocations: 2.441 MB / 0.7725 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4996, allocations: 0.6284 MB / 0.7731 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.4999, allocations: 156.4 kB / 0.7732 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.4999, allocations: 4 kB / 0.7732 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of Templates: time 0.02135/0.5213, allocations: 28.47 MB / 0.801 GB, free: 7.742 MB / 0.6355 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: 8.81758235488087] Failed to read output from testmodel.py, exit status != 0: 0.5276460088789463 0.534949149 0.07792257200000001 Calling exit ...