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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9625/0.9625, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.19 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1926, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5931/0.7857, allocations: 175.8 MB / 0.756 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.8019, allocations: 12.64 MB / 0.7684 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.8033, allocations: 31.81 kB / 0.7684 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.8046, allocations: 440.7 kB / 0.7688 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.8075, allocations: 0.9299 MB / 0.7697 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.8122, allocations: 1.811 MB / 0.7715 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.8154, allocations: 2.269 MB / 0.7737 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.8181, allocations: 1.59 MB / 0.7753 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004515/0.8226, allocations: 1.348 MB / 0.7766 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.8237, allocations: 0.8112 MB / 0.7774 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.824, allocations: 160 kB / 0.7775 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.8273, allocations: 1.388 MB / 0.7789 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.8278, allocations: 462.6 kB / 0.7793 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007982/0.8286, allocations: 0.8007 MB / 0.7801 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.8331, allocations: 2.586 MB / 0.7826 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8331, allocations: 0 / 0.7826 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8331, allocations: 0 / 0.7826 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.079e-05/0.8332, allocations: 0 / 0.7826 GB, free: 1.875 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.003728/0.8369, allocations: 1.91 MB / 0.7845 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.837, allocations: 8.031 kB / 0.7845 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.8396, allocations: 393.7 kB / 0.7849 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.8412, allocations: 0.9604 MB / 0.7858 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.8413, allocations: 98.62 kB / 0.7859 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.8414, allocations: 128 kB / 0.786 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.8439, allocations: 1.452 MB / 0.7875 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.844, allocations: 4 kB / 0.7875 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.8441, allocations: 63.94 kB / 0.7875 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.8442, allocations: 32 kB / 0.7875 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.8468, allocations: 1.532 MB / 0.789 GB, free: 11.12 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 preOpt removeSimpleEquations (simulation): time 0.007077/0.8539, allocations: 4.929 MB / 0.7939 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.8563, allocations: 1.417 MB / 0.7952 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.8571, allocations: 456.7 kB / 0.7957 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.8579, allocations: 425.4 kB / 0.7961 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.859, allocations: 0.6139 MB / 0.7967 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.314e-06/0.859, allocations: 0 / 0.7967 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004223/0.8633, allocations: 1.536 MB / 0.7982 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.8634, allocations: 200.9 kB / 0.7984 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.8648, allocations: 0.8465 MB / 0.7992 GB, free: 204 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.8649, allocations: 45.7 kB / 0.7992 GB, free: 152 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.8655, allocations: 0.57 MB / 0.7998 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.8659, allocations: 331.2 kB / 0.8001 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.8663, allocations: 202.4 kB / 0.8003 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8664, allocations: 345.9 kB / 0.8006 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.8672, allocations: 365.8 kB / 0.801 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.8682, allocations: 0.5286 MB / 0.8015 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.87, allocations: 0.9019 MB / 0.8024 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.87, allocations: 0 / 0.8024 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003068/0.8731, allocations: 1.157 MB / 0.8035 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.8731, allocations: 4 kB / 0.8035 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8731, allocations: 4.406 kB / 0.8035 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.8738, allocations: 92.7 kB / 0.8036 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8748, allocations: 239.7 kB / 0.8038 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.8772, allocations: 1.645 MB / 0.8054 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.8783, allocations: 114.9 kB / 0.8056 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.8784, allocations: 47.97 kB / 0.8056 GB, free: 9.359 MB / 0.6231 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.0008198/0.8793, allocations: 338.9 kB / 0.8059 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.8797, allocations: 114.8 kB / 0.806 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.8828, allocations: 1.336 MB / 0.8073 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8829, allocations: 15.94 kB / 0.8074 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8829, allocations: 0 / 0.8074 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8829, allocations: 3.984 kB / 0.8074 GB, free: 7.543 MB / 0.6231 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.005053/0.888, allocations: 2.69 MB / 0.81 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.888, allocations: 0 / 0.81 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/0.889, allocations: 215.7 kB / 0.8102 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.8895, allocations: 72.78 kB / 0.8103 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.8896, allocations: 35.97 kB / 0.8103 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.8918, allocations: 1.67 MB / 0.8119 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8918, allocations: 0 / 0.8119 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.8944, allocations: 1.23 MB / 0.8131 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.895, allocations: 335.3 kB / 0.8134 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.8952, allocations: 23.98 kB / 0.8135 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.8961, allocations: 75.12 kB / 0.8135 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.8962, allocations: 72.89 kB / 0.8136 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.8963, allocations: 43.97 kB / 0.8137 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008435/0.8972, allocations: 0.5864 MB / 0.8142 GB, free: 236 kB / 0.6231 GB Notification: Performance of sort global known variables: time 3.397e-06/0.8972, allocations: 0 / 0.8142 GB, free: 236 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001285/0.8985, allocations: 466.8 kB / 0.8147 GB, free: 15.77 MB / 0.6387 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.00168/0.9002, allocations: 0.701 MB / 0.8154 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003307/0.9035, allocations: 1.359 MB / 0.8167 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9035, allocations: 4 kB / 0.8167 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.9048, allocations: 0.6329 MB / 0.8173 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.907, allocations: 0.5152 MB / 0.8178 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.9122, allocations: 2.357 MB / 0.8201 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.9131, allocations: 1.174 MB / 0.8213 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001493/0.9146, allocations: 377.3 kB / 0.8216 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.915, allocations: 131.4 kB / 0.8217 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of SimCode: time 1.523e-06/0.915, allocations: 4 kB / 0.8217 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of Templates: time 0.03905/0.9541, allocations: 22.89 MB / 0.8441 GB, free: 2.074 MB / 0.6544 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)