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.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.00142/0.00142, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001689/0.001689, allocations: 219.4 kB / 22.24 MB, free: 5.105 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.305/1.305, allocations: 203.8 MB / 0.5041 GB, free: 4.629 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 0.7186 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5741, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2115/0.7856, allocations: 156.1 MB / 0.9707 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.8068, allocations: 12.05 MB / 0.9824 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.8088, allocations: 47.62 kB / 0.9825 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.8107, allocations: 476.3 kB / 0.9829 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.8148, allocations: 1.07 MB / 0.984 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.8199, allocations: 1.902 MB / 0.9858 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003856/0.8237, allocations: 2.559 MB / 0.9883 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.8259, allocations: 1.263 MB / 0.9896 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.8306, allocations: 1.648 MB / 0.9912 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.8319, allocations: 0.8205 MB / 0.992 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.8321, allocations: 176 kB / 0.9921 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.8349, allocations: 1.291 MB / 0.9934 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.8353, allocations: 0.4907 MB / 0.9939 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007939/0.8361, allocations: 0.7233 MB / 0.9946 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.8401, allocations: 2.841 MB / 0.9974 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8401, allocations: 0 / 0.9974 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8401, allocations: 0 / 0.9974 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.8401, allocations: 0 / 0.9974 GB, free: 14.45 MB / 0.7794 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.003682/0.8438, allocations: 2.031 MB / 0.9993 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8438, allocations: 9.469 kB / 0.9993 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.8472, allocations: 462.5 kB / 0.9998 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.849, allocations: 0.9633 MB / 1.001 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8491, allocations: 106.7 kB / 1.001 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.8493, allocations: 135.9 kB / 1.001 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.8524, allocations: 2.03 MB / 1.003 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.8524, allocations: 0 / 1.003 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8526, allocations: 60 kB / 1.003 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.8526, allocations: 32 kB / 1.003 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.8555, allocations: 1.54 MB / 1.005 GB, free: 6.816 MB / 0.7794 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.006835/0.8623, allocations: 3.771 MB / 1.008 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.8649, allocations: 1.141 MB / 1.009 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.8657, allocations: 437.1 kB / 1.01 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.8664, allocations: 108.9 kB / 1.01 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/0.8679, allocations: 1.064 MB / 1.011 GB, free: 132 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.8679, allocations: 0 / 1.011 GB, free: 132 kB / 0.7794 GB Notification: Performance of matching and sorting (n=107): time 0.004554/0.8725, allocations: 1.578 MB / 1.012 GB, free: 14.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.8726, allocations: 200.9 kB / 1.013 GB, free: 14.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.8737, allocations: 0.7746 MB / 1.013 GB, free: 13.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.8738, allocations: 41.7 kB / 1.013 GB, free: 13.47 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.8743, allocations: 0.6141 MB / 1.014 GB, free: 12.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.8747, allocations: 376.8 kB / 1.014 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.875, allocations: 214.8 kB / 1.015 GB, free: 12.27 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8752, allocations: 345.9 kB / 1.015 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/0.876, allocations: 402.4 kB / 1.015 GB, free: 11.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.8772, allocations: 0.7504 MB / 1.016 GB, free: 10.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.879, allocations: 0.9526 MB / 1.017 GB, free: 9.684 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8791, allocations: 4 kB / 1.017 GB, free: 9.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002949/0.882, allocations: 1.224 MB / 1.018 GB, free: 8.449 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.882, allocations: 12.34 kB / 1.018 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.882, allocations: 8 kB / 1.018 GB, free: 8.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.8827, allocations: 84.77 kB / 1.018 GB, free: 8.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8839, allocations: 255.7 kB / 1.019 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.8862, allocations: 1.508 MB / 1.02 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8872, allocations: 111.4 kB / 1.02 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.8873, allocations: 55.95 kB / 1.02 GB, free: 6.312 MB / 0.795 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.0006335/0.8879, allocations: 354.2 kB / 1.02 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.8882, allocations: 115.2 kB / 1.021 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.8916, allocations: 1.42 MB / 1.022 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.8916, allocations: 15.94 kB / 1.022 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8916, allocations: 0 / 1.022 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8916, allocations: 7.969 kB / 1.022 GB, free: 4.391 MB / 0.795 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.004871/0.8965, allocations: 2.415 MB / 1.024 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.8965, allocations: 3.984 kB / 1.024 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.8976, allocations: 211.8 kB / 1.025 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/0.8981, allocations: 80.72 kB / 1.025 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.8982, allocations: 27.98 kB / 1.025 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.9002, allocations: 1.547 MB / 1.026 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.9002, allocations: 4.062 kB / 1.026 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.9032, allocations: 1.318 MB / 1.027 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.9038, allocations: 274.7 kB / 1.028 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.904, allocations: 20 kB / 1.028 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.905, allocations: 86.27 kB / 1.028 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.9052, allocations: 84.83 kB / 1.028 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.9053, allocations: 55.95 kB / 1.028 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007848/0.9061, allocations: 0.5263 MB / 1.028 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9061, allocations: 0 / 1.028 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001412/0.9075, allocations: 0.5103 MB / 1.029 GB, free: 13.07 MB / 0.8106 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.002344/0.9098, allocations: 0.7258 MB / 1.03 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.9124, allocations: 1.113 MB / 1.031 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9124, allocations: 0 / 1.031 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.9137, allocations: 0.6329 MB / 1.031 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.9156, allocations: 458.2 kB / 1.032 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.9201, allocations: 2.379 MB / 1.034 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.9208, allocations: 0.6321 MB / 1.035 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00123/0.922, allocations: 368.7 kB / 1.035 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.9224, allocations: 135.4 kB / 1.035 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of SimCode: time 7.31e-07/0.9224, allocations: 0 / 1.035 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of Templates: time 0.04153/0.9639, allocations: 24.62 MB / 1.059 GB, free: 14.61 MB / 0.8419 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: 7.910781152546406] Failed to read output from testmodel.py, exit status != 0: 0.9728912692517042 0.987326021 0.143883154 Calling exit ...