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.001212/0.001212, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001262/0.001262, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8024/0.8024, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.84 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3916, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5177/0.9093, allocations: 175.8 MB / 0.7532 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.9247, allocations: 12.63 MB / 0.7655 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.9263, allocations: 35.17 kB / 0.7655 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.9277, allocations: 437.2 kB / 0.766 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.9321, allocations: 0.9309 MB / 0.7669 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00584/0.938, allocations: 1.818 MB / 0.7686 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.9411, allocations: 2.284 MB / 0.7709 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.9433, allocations: 1.586 MB / 0.7724 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.9469, allocations: 1.355 MB / 0.7737 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.948, allocations: 0.8116 MB / 0.7745 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.9483, allocations: 161 kB / 0.7747 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.9515, allocations: 1.414 MB / 0.7761 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.9519, allocations: 465.4 kB / 0.7765 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.9527, allocations: 0.7967 MB / 0.7773 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.9557, allocations: 2.634 MB / 0.7799 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9557, allocations: 0 / 0.7799 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9557, allocations: 0.9375 kB / 0.7799 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.9557, allocations: 3.938 kB / 0.7799 GB, free: 0.9492 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.002931/0.9587, allocations: 1.905 MB / 0.7817 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.9587, allocations: 10.44 kB / 0.7817 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.9613, allocations: 394.5 kB / 0.7821 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.963, allocations: 0.9933 MB / 0.7831 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/0.9631, allocations: 99.09 kB / 0.7832 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.9632, allocations: 127.2 kB / 0.7833 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.9656, allocations: 1.462 MB / 0.7847 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.9656, allocations: 0 / 0.7847 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.9657, allocations: 58.16 kB / 0.7848 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.9657, allocations: 29.97 kB / 0.7848 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.968, allocations: 1.533 MB / 0.7863 GB, free: 15.31 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.006435/0.9744, allocations: 4.879 MB / 0.7911 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.9767, allocations: 1.42 MB / 0.7925 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.9775, allocations: 453.7 kB / 0.7929 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.9783, allocations: 423.3 kB / 0.7933 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.9794, allocations: 0.6244 MB / 0.7939 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.364e-06/0.9794, allocations: 1.094 kB / 0.7939 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003743/0.9832, allocations: 1.527 MB / 0.7954 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.9833, allocations: 194 kB / 0.7956 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.9844, allocations: 0.854 MB / 0.7964 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.9846, allocations: 45.11 kB / 0.7965 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.985, allocations: 0.5675 MB / 0.797 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.9853, allocations: 333.7 kB / 0.7973 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.9856, allocations: 194.3 kB / 0.7975 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9857, allocations: 350.1 kB / 0.7979 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.9863, allocations: 367.4 kB / 0.7982 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008013/0.9871, allocations: 0.525 MB / 0.7987 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.9887, allocations: 0.9066 MB / 0.7996 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9887, allocations: 3.938 kB / 0.7996 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002521/0.9913, allocations: 1.154 MB / 0.8007 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9913, allocations: 6.156 kB / 0.8007 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9913, allocations: 3.234 kB / 0.8007 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.9919, allocations: 85.92 kB / 0.8008 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.9929, allocations: 247 kB / 0.8011 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.995, allocations: 1.648 MB / 0.8027 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.9961, allocations: 125.2 kB / 0.8028 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.523e-05/0.9962, allocations: 47.73 kB / 0.8028 GB, free: 8.977 MB / 0.5919 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.0007323/0.997, allocations: 332.1 kB / 0.8031 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.9972, allocations: 115.9 kB / 0.8033 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/1, allocations: 1.323 MB / 0.8046 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1, allocations: 10.59 kB / 0.8046 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1, allocations: 3.938 kB / 0.8046 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1, allocations: 10.2 kB / 0.8046 GB, free: 8.688 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 postOpt removeSimpleEquations (simulation): time 0.004358/1.004, allocations: 2.689 MB / 0.8072 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.004, allocations: 0.75 kB / 0.8072 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/1.005, allocations: 217.3 kB / 0.8074 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/1.006, allocations: 75.72 kB / 0.8075 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.006, allocations: 29.88 kB / 0.8075 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.008, allocations: 1.669 MB / 0.8091 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.008, allocations: 3.188 kB / 0.8091 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.01, allocations: 1.23 MB / 0.8103 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/1.011, allocations: 342.3 kB / 0.8107 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/1.011, allocations: 19.53 kB / 0.8107 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/1.012, allocations: 71.95 kB / 0.8108 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.012, allocations: 71.25 kB / 0.8108 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.012, allocations: 50.05 kB / 0.8109 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009619/1.013, allocations: 0.5854 MB / 0.8114 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.013, allocations: 0 / 0.8114 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001188/1.014, allocations: 459.7 kB / 0.8119 GB, free: 6.203 MB / 0.5919 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.001569/1.016, allocations: 0.6977 MB / 0.8126 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002179/1.018, allocations: 1.072 MB / 0.8136 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.018, allocations: 3.375 kB / 0.8136 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.019, allocations: 0.6336 MB / 0.8142 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.021, allocations: 0.5119 MB / 0.8147 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/1.026, allocations: 2.322 MB / 0.817 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/1.027, allocations: 1.181 MB / 0.8182 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001322/1.028, allocations: 379 kB / 0.8185 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.028, allocations: 132.5 kB / 0.8186 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/1.028, allocations: 0 / 0.8186 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of Templates: time 0.03842/1.067, allocations: 22.87 MB / 0.841 GB, free: 14.91 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)