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) 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-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008595/0.0008595, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001045/0.001045, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9899/0.9899, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 15.92 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5962/0.7967, allocations: 159.7 MB / 0.7433 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.8161, allocations: 11.73 MB / 0.7548 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.8179, allocations: 22.72 kB / 0.7548 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.8194, allocations: 309.8 kB / 0.7551 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.8229, allocations: 0.7812 MB / 0.7559 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004713/0.8276, allocations: 1.335 MB / 0.7572 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.8316, allocations: 2.307 MB / 0.7594 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.8341, allocations: 1.155 MB / 0.7605 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.837, allocations: 0.9999 MB / 0.7615 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.8384, allocations: 0.6376 MB / 0.7621 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.8385, allocations: 40 kB / 0.7622 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.8412, allocations: 0.8774 MB / 0.763 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000376/0.8416, allocations: 314.7 kB / 0.7633 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.842, allocations: 288.9 kB / 0.7636 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.8447, allocations: 1.824 MB / 0.7654 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8447, allocations: 0 / 0.7654 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8447, allocations: 0 / 0.7654 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.769e-05/0.8447, allocations: 4 kB / 0.7654 GB, free: 6.66 MB / 0.5762 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.003054/0.8478, allocations: 1.606 MB / 0.767 GB, free: 5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.8478, allocations: 8.031 kB / 0.767 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.8504, allocations: 411 kB / 0.7674 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.852, allocations: 0.9145 MB / 0.7683 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.8521, allocations: 102.6 kB / 0.7684 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.8523, allocations: 124 kB / 0.7685 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.855, allocations: 1.46 MB / 0.7699 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.8551, allocations: 0 / 0.7699 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.8552, allocations: 52 kB / 0.77 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.8553, allocations: 32 kB / 0.77 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.8581, allocations: 1.536 MB / 0.7715 GB, free: 252 kB / 0.5762 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.00734/0.8654, allocations: 4.941 MB / 0.7763 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.8678, allocations: 1.421 MB / 0.7777 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.8686, allocations: 452.8 kB / 0.7781 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/0.8694, allocations: 441.4 kB / 0.7786 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.8706, allocations: 0.6139 MB / 0.7792 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 3.737e-06/0.8706, allocations: 0 / 0.7792 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003893/0.8745, allocations: 1.543 MB / 0.7807 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.8747, allocations: 196.9 kB / 0.7808 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.876, allocations: 0.8426 MB / 0.7817 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.8762, allocations: 41.7 kB / 0.7817 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.8767, allocations: 0.5739 MB / 0.7823 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.877, allocations: 327.2 kB / 0.7826 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.8771, allocations: 20 kB / 0.7826 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8773, allocations: 341.9 kB / 0.7829 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.878, allocations: 373.8 kB / 0.7833 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.8788, allocations: 0.5247 MB / 0.7838 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.8797, allocations: 442.8 kB / 0.7842 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.8797, allocations: 0 / 0.7842 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002644/0.8823, allocations: 1.149 MB / 0.7853 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.8824, allocations: 7.953 kB / 0.7853 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.8824, allocations: 4 kB / 0.7854 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.883, allocations: 95.17 kB / 0.7854 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.8841, allocations: 239.7 kB / 0.7857 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.8862, allocations: 1.541 MB / 0.7872 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.8873, allocations: 146 kB / 0.7873 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.8874, allocations: 43.97 kB / 0.7874 GB, free: 15.25 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009396/0.8884, allocations: 333.6 kB / 0.7877 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.8886, allocations: 118.5 kB / 0.7878 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.8916, allocations: 1.345 MB / 0.7891 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.8916, allocations: 8 kB / 0.7891 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.8916, allocations: 3.984 kB / 0.7891 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.8916, allocations: 7.984 kB / 0.7891 GB, free: 13.43 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.004629/0.8963, allocations: 2.691 MB / 0.7917 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.8963, allocations: 4 kB / 0.7918 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.8973, allocations: 219.7 kB / 0.792 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.8978, allocations: 80.78 kB / 0.792 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.8979, allocations: 39.91 kB / 0.7921 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.8997, allocations: 1.552 MB / 0.7936 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8997, allocations: 64 / 0.7936 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.9023, allocations: 1.226 MB / 0.7948 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.9029, allocations: 355.1 kB / 0.7951 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.9031, allocations: 20 kB / 0.7951 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.904, allocations: 97.45 kB / 0.7952 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9041, allocations: 76.89 kB / 0.7953 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.9042, allocations: 47.97 kB / 0.7954 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008912/0.9051, allocations: 0.5824 MB / 0.7959 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.9051, allocations: 3.938 kB / 0.7959 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001456/0.9066, allocations: 466.8 kB / 0.7964 GB, free: 5.715 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/0.9083, allocations: 0.6927 MB / 0.7971 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.9105, allocations: 1.074 MB / 0.7981 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.9106, allocations: 6.5 kB / 0.7981 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.9117, allocations: 0.629 MB / 0.7987 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.9139, allocations: 481.7 kB / 0.7992 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.9192, allocations: 2.918 MB / 0.802 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/0.9201, allocations: 1.181 MB / 0.8032 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001602/0.9217, allocations: 369.3 kB / 0.8035 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.922, allocations: 135.4 kB / 0.8037 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.9221, allocations: 0 / 0.8037 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.03887/0.9609, allocations: 21.24 MB / 0.8244 GB, free: 9.406 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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)