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.001141/0.001141, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001192/0.001192, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.193/1.193, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7316/0.7316, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.47 kB / 0.5863 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.12, allocations: 80.92 MB / 0.6653 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4286/0.5486, allocations: 175.8 MB / 0.837 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.5628, allocations: 12.65 MB / 0.8493 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009309/0.5638, allocations: 32 kB / 0.8494 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.565, allocations: 453.7 kB / 0.8498 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.5675, allocations: 0.9523 MB / 0.8507 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.5718, allocations: 1.832 MB / 0.8525 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.5741, allocations: 2.282 MB / 0.8547 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.5759, allocations: 1.586 MB / 0.8563 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.5789, allocations: 1.411 MB / 0.8577 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/0.5798, allocations: 0.8112 MB / 0.8585 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.58, allocations: 157.6 kB / 0.8586 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.5822, allocations: 1.412 MB / 0.86 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.5826, allocations: 466.6 kB / 0.8604 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.5833, allocations: 0.793 MB / 0.8612 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.5861, allocations: 2.64 MB / 0.8638 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5861, allocations: 0 / 0.8638 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5862, allocations: 7.938 kB / 0.8638 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.589e-05/0.5862, allocations: 0 / 0.8638 GB, free: 4.016 MB / 0.6231 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.002892/0.5891, allocations: 1.903 MB / 0.8657 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5891, allocations: 13.11 kB / 0.8657 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.5916, allocations: 401.6 kB / 0.866 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.593, allocations: 0.984 MB / 0.867 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.5931, allocations: 98.62 kB / 0.8671 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5933, allocations: 128 kB / 0.8672 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.5956, allocations: 1.456 MB / 0.8686 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5956, allocations: 0 / 0.8686 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.5958, allocations: 60 kB / 0.8687 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.5958, allocations: 32 kB / 0.8687 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5982, allocations: 1.536 MB / 0.8702 GB, free: 13.23 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.006058/0.6043, allocations: 4.875 MB / 0.875 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6065, allocations: 1.422 MB / 0.8764 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.6073, allocations: 452.6 kB / 0.8768 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.6079, allocations: 425.3 kB / 0.8772 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.609, allocations: 0.6178 MB / 0.8778 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.555e-06/0.609, allocations: 4 kB / 0.8778 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.003618/0.6126, allocations: 1.528 MB / 0.8793 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.6127, allocations: 192.9 kB / 0.8795 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.6137, allocations: 0.8582 MB / 0.8803 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.6137, allocations: 41.7 kB / 0.8804 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.6141, allocations: 0.5739 MB / 0.8809 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.6144, allocations: 327.2 kB / 0.8813 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.6146, allocations: 194.5 kB / 0.8814 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6148, allocations: 349.9 kB / 0.8818 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.6155, allocations: 365.8 kB / 0.8821 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008302/0.6163, allocations: 0.5325 MB / 0.8826 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.6178, allocations: 0.8941 MB / 0.8835 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6178, allocations: 0 / 0.8835 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002338/0.6202, allocations: 1.16 MB / 0.8846 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6202, allocations: 8 kB / 0.8847 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6202, allocations: 0 / 0.8847 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.6208, allocations: 89.12 kB / 0.8847 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.6218, allocations: 239.7 kB / 0.885 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.6237, allocations: 1.646 MB / 0.8866 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/0.6246, allocations: 123 kB / 0.8867 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/0.6247, allocations: 47.91 kB / 0.8867 GB, free: 11.52 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.0004485/0.6251, allocations: 333.5 kB / 0.8871 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.6253, allocations: 114.6 kB / 0.8872 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.6281, allocations: 1.328 MB / 0.8885 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.6281, allocations: 11.91 kB / 0.8885 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6281, allocations: 0 / 0.8885 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.6286, allocations: 339.3 kB / 0.8888 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.6287, allocations: 23.89 kB / 0.8888 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.6295, allocations: 72.81 kB / 0.8889 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6297, allocations: 76.89 kB / 0.889 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002549/0.6322, allocations: 1.201 MB / 0.8901 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002758/0.635, allocations: 1.789 MB / 0.8919 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007432/0.6358, allocations: 471.8 kB / 0.8923 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006712/0.6364, allocations: 0.5863 MB / 0.8929 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of Backend: time 3e-07/0.6364, allocations: 0 / 0.8929 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.6401, allocations: 1.644 MB / 0.8945 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003752/0.6438, allocations: 2.692 MB / 0.8971 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of Templates: time 0.03627/0.6801, allocations: 26.12 MB / 0.9226 GB, free: 7.066 MB / 0.6856 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)