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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.2 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.2 MB / 422.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.72 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 80.21 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5121/0.6914, allocations: 173.5 MB / 0.7489 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.7109, allocations: 12.68 MB / 0.7613 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.7127, allocations: 27.81 kB / 0.7613 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.7143, allocations: 361.8 kB / 0.7616 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.7175, allocations: 0.8287 MB / 0.7624 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.7227, allocations: 1.639 MB / 0.764 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003675/0.7264, allocations: 2.622 MB / 0.7666 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.7288, allocations: 1.443 MB / 0.768 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/0.7339, allocations: 1.21 MB / 0.7692 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.7353, allocations: 0.8011 MB / 0.77 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.7356, allocations: 84 kB / 0.77 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.7392, allocations: 1.462 MB / 0.7715 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.7397, allocations: 390.6 kB / 0.7718 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009809/0.7407, allocations: 0.7342 MB / 0.7726 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.7448, allocations: 2.57 MB / 0.7751 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7449, allocations: 0 / 0.7751 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7449, allocations: 0 / 0.7751 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.7449, allocations: 0 / 0.7751 GB, free: 10.95 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003561/0.7485, allocations: 1.909 MB / 0.7769 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7485, allocations: 8.031 kB / 0.7769 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.7513, allocations: 401.7 kB / 0.7773 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.7529, allocations: 0.9565 MB / 0.7783 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.753, allocations: 94.62 kB / 0.7784 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.7532, allocations: 128 kB / 0.7785 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.7559, allocations: 1.456 MB / 0.7799 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.756, allocations: 7.938 kB / 0.7799 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7561, allocations: 59.94 kB / 0.78 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.7562, allocations: 32 kB / 0.78 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.7588, allocations: 1.536 MB / 0.7815 GB, free: 4.184 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.007335/0.7661, allocations: 4.894 MB / 0.7863 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.7687, allocations: 1.431 MB / 0.7877 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007876/0.7695, allocations: 452.8 kB / 0.7881 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007853/0.7703, allocations: 425.4 kB / 0.7885 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.7714, allocations: 0.6176 MB / 0.7891 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 4.439e-06/0.7715, allocations: 0 / 0.7891 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004323/0.7758, allocations: 1.543 MB / 0.7906 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7759, allocations: 188.9 kB / 0.7908 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.7772, allocations: 0.8543 MB / 0.7916 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.7773, allocations: 45.7 kB / 0.7917 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.7778, allocations: 0.5701 MB / 0.7922 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.7781, allocations: 335.1 kB / 0.7926 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.7784, allocations: 198.5 kB / 0.7927 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7786, allocations: 345.9 kB / 0.7931 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.7793, allocations: 369.7 kB / 0.7934 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.7802, allocations: 0.5287 MB / 0.7939 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.7818, allocations: 0.9019 MB / 0.7948 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7819, allocations: 0 / 0.7948 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002718/0.7846, allocations: 1.157 MB / 0.796 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7846, allocations: 6.188 kB / 0.796 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7846, allocations: 4 kB / 0.796 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/0.7853, allocations: 93.11 kB / 0.7961 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7864, allocations: 239.7 kB / 0.7963 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.7885, allocations: 1.532 MB / 0.7978 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.7898, allocations: 135 kB / 0.7979 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.7899, allocations: 43.97 kB / 0.7979 GB, free: 2.551 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: 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.0008873/0.7908, allocations: 331.1 kB / 0.7983 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.7911, allocations: 122.5 kB / 0.7984 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.7942, allocations: 1.335 MB / 0.7997 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7942, allocations: 12 kB / 0.7997 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7942, allocations: 0 / 0.7997 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7942, allocations: 3.984 kB / 0.7997 GB, free: 0.7344 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.004715/0.7989, allocations: 2.698 MB / 0.8023 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.799, allocations: 4 kB / 0.8023 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.8, allocations: 211.8 kB / 0.8025 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.8005, allocations: 84.77 kB / 0.8026 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.8006, allocations: 23.98 kB / 0.8026 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.8025, allocations: 1.559 MB / 0.8042 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8025, allocations: 64 / 0.8042 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.8053, allocations: 1.238 MB / 0.8054 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.806, allocations: 339.3 kB / 0.8057 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.8062, allocations: 23.91 kB / 0.8057 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.8071, allocations: 90.91 kB / 0.8058 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.8073, allocations: 68.91 kB / 0.8059 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/0.8074, allocations: 47.97 kB / 0.8059 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009043/0.8083, allocations: 0.5903 MB / 0.8065 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8083, allocations: 0 / 0.8065 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001356/0.8097, allocations: 458.9 kB / 0.8069 GB, free: 9.051 MB / 0.6231 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.001696/0.8114, allocations: 0.7005 MB / 0.8076 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.8138, allocations: 1.07 MB / 0.8087 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8138, allocations: 4 kB / 0.8087 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.8149, allocations: 0.6251 MB / 0.8093 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8172, allocations: 477.4 kB / 0.8097 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.8226, allocations: 2.921 MB / 0.8126 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.8234, allocations: 1.182 MB / 0.8137 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001691/0.8251, allocations: 377.2 kB / 0.8141 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.8255, allocations: 127.3 kB / 0.8142 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of SimCode: time 1.423e-06/0.8256, allocations: 4 kB / 0.8142 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.04142/0.867, allocations: 22.03 MB / 0.8357 GB, free: 12.01 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)