Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001353/0.001353, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.001508/0.001508, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8199/0.8199, allocations: 101.3 MB / 361.1 MB, free: 9.574 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002065/0.002065, allocations: 72.39 kB / 0.5356 GB, free: 5.215 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1714, allocations: 85.86 MB / 0.6195 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5864/0.7579, allocations: 155.2 MB / 0.771 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.775, allocations: 11.88 MB / 0.7826 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.7764, allocations: 45.31 kB / 0.7827 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.7779, allocations: 437.5 kB / 0.7831 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.781, allocations: 0.9695 MB / 0.7841 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.7859, allocations: 1.87 MB / 0.7859 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002998/0.7889, allocations: 2.309 MB / 0.7881 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.7909, allocations: 1.269 MB / 0.7894 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.7958, allocations: 1.424 MB / 0.7908 GB, free: 128 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.7974, allocations: 0.7654 MB / 0.7915 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.7977, allocations: 164 kB / 0.7917 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.8007, allocations: 1.273 MB / 0.7929 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.8011, allocations: 474.8 kB / 0.7934 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.8022, allocations: 0.6559 MB / 0.794 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.8062, allocations: 2.682 MB / 0.7966 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8062, allocations: 0 / 0.7966 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8062, allocations: 0 / 0.7966 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.8063, allocations: 0 / 0.7966 GB, free: 12.41 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003602/0.8099, allocations: 1.902 MB / 0.7985 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.8099, allocations: 11.03 kB / 0.7985 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.8132, allocations: 460.4 kB / 0.7989 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.8149, allocations: 0.9277 MB / 0.7998 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.815, allocations: 103.9 kB / 0.7999 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.8152, allocations: 124.1 kB / 0.8001 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.8182, allocations: 1.967 MB / 0.802 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.8182, allocations: 0 / 0.802 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.8183, allocations: 57.34 kB / 0.802 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.8184, allocations: 34.31 kB / 0.8021 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.821, allocations: 1.491 MB / 0.8035 GB, free: 7.645 MB / 0.6387 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.00629/0.8273, allocations: 3.629 MB / 0.8071 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.8296, allocations: 1.06 MB / 0.8081 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.8304, allocations: 423.6 kB / 0.8085 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.831, allocations: 108.9 kB / 0.8086 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.8325, allocations: 0.9765 MB / 0.8096 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.454e-06/0.8325, allocations: 0 / 0.8096 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.004205/0.8367, allocations: 1.453 MB / 0.811 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.8368, allocations: 192.9 kB / 0.8112 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.8378, allocations: 0.7274 MB / 0.8119 GB, free: 108 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.8379, allocations: 41.7 kB / 0.8119 GB, free: 60 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.8385, allocations: 0.5945 MB / 0.8125 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.8388, allocations: 345.1 kB / 0.8128 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.8391, allocations: 206.4 kB / 0.813 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8393, allocations: 349.9 kB / 0.8134 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/0.8401, allocations: 361.8 kB / 0.8137 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.8412, allocations: 0.7082 MB / 0.8144 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.843, allocations: 0.9019 MB / 0.8153 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.843, allocations: 0 / 0.8153 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002846/0.8459, allocations: 1.142 MB / 0.8164 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8459, allocations: 8.406 kB / 0.8164 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.8459, allocations: 8 kB / 0.8164 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.8465, allocations: 84.72 kB / 0.8165 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8476, allocations: 243.7 kB / 0.8167 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.8501, allocations: 1.522 MB / 0.8182 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.8511, allocations: 103.4 kB / 0.8183 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8512, allocations: 43.97 kB / 0.8183 GB, free: 9.203 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * 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.0008273/0.852, allocations: 338.6 kB / 0.8187 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.8523, allocations: 107.3 kB / 0.8188 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.8555, allocations: 1.326 MB / 0.8201 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.8555, allocations: 12 kB / 0.8201 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8555, allocations: 0 / 0.8201 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.8555, allocations: 7.922 kB / 0.8201 GB, free: 7.395 MB / 0.6544 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.004856/0.8604, allocations: 2.239 MB / 0.8223 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8604, allocations: 8 kB / 0.8223 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.8614, allocations: 211.7 kB / 0.8225 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.8619, allocations: 80.7 kB / 0.8226 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.33e-05/0.862, allocations: 27.98 kB / 0.8226 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.8641, allocations: 1.555 MB / 0.8241 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8641, allocations: 3.938 kB / 0.8241 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.8669, allocations: 1.213 MB / 0.8253 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.8675, allocations: 250.9 kB / 0.8255 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.8677, allocations: 20 kB / 0.8255 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.8686, allocations: 71.92 kB / 0.8256 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.8687, allocations: 80.8 kB / 0.8257 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.8689, allocations: 47.91 kB / 0.8257 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007965/0.8697, allocations: 0.4951 MB / 0.8262 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8697, allocations: 0 / 0.8262 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001441/0.8711, allocations: 486.6 kB / 0.8267 GB, free: 472 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002567/0.8737, allocations: 0.7145 MB / 0.8274 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.8762, allocations: 1.039 MB / 0.8284 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8762, allocations: 3.938 kB / 0.8284 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.8774, allocations: 0.5977 MB / 0.829 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.8794, allocations: 441 kB / 0.8294 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.8854, allocations: 2.372 MB / 0.8317 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/0.8863, allocations: 0.5917 MB / 0.8323 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001353/0.8876, allocations: 364.2 kB / 0.8326 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.888, allocations: 124.4 kB / 0.8328 GB, free: 10.37 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.888, allocations: 0 / 0.8328 GB, free: 10.37 MB / 0.67 GB Notification: Performance of Templates: time 0.04058/0.9286, allocations: 21.49 MB / 0.8538 GB, free: 5.223 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.161934409989044] Failed to read output from testmodel.py, exit status != 0: 0.9373292670352384 0.953393771 0.14381089900000002 Calling exit ...