Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.219/1.219, allocations: 173.4 MB / 471.3 MB, free: 6.559 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 66.66 kB / 0.649 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2088, allocations: 89.53 MB / 0.7364 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7272/0.9361, allocations: 176.8 MB / 0.9091 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.953, allocations: 12.84 MB / 0.9216 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.9551, allocations: 32.62 kB / 0.9216 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.9568, allocations: 466.1 kB / 0.9221 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.9612, allocations: 1.024 MB / 0.9231 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.9668, allocations: 1.866 MB / 0.9249 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.9711, allocations: 2.524 MB / 0.9274 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.9739, allocations: 1.604 MB / 0.9289 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005205/0.9791, allocations: 1.558 MB / 0.9305 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.981, allocations: 0.8771 MB / 0.9313 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004013/0.9814, allocations: 173.5 kB / 0.9315 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.985, allocations: 1.419 MB / 0.9329 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.9857, allocations: 495 kB / 0.9333 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.9871, allocations: 0.8734 MB / 0.9342 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.9932, allocations: 2.811 MB / 0.9369 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9932, allocations: 2.656 kB / 0.9369 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9932, allocations: 0 / 0.9369 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.208e-05/0.9933, allocations: 4 kB / 0.9369 GB, free: 8.23 MB / 0.6856 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.004181/0.9975, allocations: 2.075 MB / 0.939 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.9975, allocations: 13.47 kB / 0.939 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1, allocations: 419.5 kB / 0.9394 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/1.002, allocations: 1.029 MB / 0.9404 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.002, allocations: 110.3 kB / 0.9405 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/1.003, allocations: 132.1 kB / 0.9406 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/1.005, allocations: 1.521 MB / 0.9421 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.005, allocations: 1.812 kB / 0.9421 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.006, allocations: 59.56 kB / 0.9422 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/1.006, allocations: 32.53 kB / 0.9422 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/1.008, allocations: 1.59 MB / 0.9438 GB, free: 3.781 MB / 0.6856 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.008743/1.017, allocations: 5.403 MB / 0.949 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/1.02, allocations: 1.519 MB / 0.9505 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/1.021, allocations: 487.3 kB / 0.951 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/1.022, allocations: 421.9 kB / 0.9514 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/1.023, allocations: 0.6947 MB / 0.9521 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/1.023, allocations: 0 / 0.9521 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107): time 0.004555/1.028, allocations: 1.672 MB / 0.9537 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/1.028, allocations: 190.9 kB / 0.9539 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.029, allocations: 0.9003 MB / 0.9548 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.029, allocations: 49.55 kB / 0.9548 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/1.03, allocations: 0.5982 MB / 0.9554 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/1.031, allocations: 381.1 kB / 0.9557 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/1.031, allocations: 216.1 kB / 0.956 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.031, allocations: 347.5 kB / 0.9563 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/1.032, allocations: 395.2 kB / 0.9567 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.033, allocations: 0.568 MB / 0.9572 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.035, allocations: 0.9585 MB / 0.9582 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.035, allocations: 6.844 kB / 0.9582 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002948/1.038, allocations: 1.241 MB / 0.9594 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.038, allocations: 7.219 kB / 0.9594 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.038, allocations: 6.812 kB / 0.9594 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/1.038, allocations: 89.2 kB / 0.9595 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.039, allocations: 254.2 kB / 0.9597 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/1.042, allocations: 1.662 MB / 0.9613 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.043, allocations: 140.5 kB / 0.9615 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.043, allocations: 48.5 kB / 0.9615 GB, free: 6.504 MB / 0.7012 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.0007765/1.044, allocations: 340.1 kB / 0.9618 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/1.044, allocations: 127.6 kB / 0.962 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/1.048, allocations: 1.434 MB / 0.9634 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.048, allocations: 9.75 kB / 0.9634 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.048, allocations: 4 kB / 0.9634 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.048, allocations: 6.766 kB / 0.9634 GB, free: 5.375 MB / 0.7012 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.005019/1.053, allocations: 2.866 MB / 0.9662 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.053, allocations: 0 / 0.9662 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.054, allocations: 224 kB / 0.9664 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/1.055, allocations: 70.86 kB / 0.9665 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.055, allocations: 37.62 kB / 0.9665 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/1.058, allocations: 1.674 MB / 0.9681 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.058, allocations: 0 / 0.9681 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/1.063, allocations: 1.334 MB / 0.9694 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.064, allocations: 366.3 kB / 0.9698 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/1.064, allocations: 23.44 kB / 0.9698 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.065, allocations: 83.41 kB / 0.9699 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/1.066, allocations: 84.19 kB / 0.97 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.066, allocations: 59.94 kB / 0.97 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001507/1.067, allocations: 0.6111 MB / 0.9706 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/1.067, allocations: 0 / 0.9706 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002152/1.07, allocations: 0.4987 MB / 0.9711 GB, free: 15.39 MB / 0.7169 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.003241/1.073, allocations: 0.707 MB / 0.9718 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00396/1.077, allocations: 1.156 MB / 0.9729 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.077, allocations: 4 kB / 0.9729 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.079, allocations: 0.672 MB / 0.9736 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.082, allocations: 0.5227 MB / 0.9741 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/1.088, allocations: 2.428 MB / 0.9765 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.089, allocations: 1.209 MB / 0.9776 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/1.09, allocations: 159.4 kB / 0.9778 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.09, allocations: 0 / 0.9778 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of Templates: time 0.06423/1.155, allocations: 28.55 MB / 1.006 GB, free: 12.26 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.310813097981736] Failed to read output from testmodel.py, exit status != 0: 1.1633142419159412 1.185074268 0.187974198 Calling exit ...