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.001022/0.001022, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0071/0.0071, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.968/0.968, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 9.312 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 82.31 MB / 0.588 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6178/0.8104, allocations: 171.2 MB / 0.7552 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0287/0.8391, allocations: 12.48 MB / 0.7673 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.8407, allocations: 27.81 kB / 0.7674 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.8419, allocations: 361.8 kB / 0.7677 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.8444, allocations: 0.8288 MB / 0.7685 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.8486, allocations: 1.633 MB / 0.7701 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003082/0.8517, allocations: 2.624 MB / 0.7727 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.8538, allocations: 1.362 MB / 0.774 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.8582, allocations: 1.096 MB / 0.7751 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.8592, allocations: 0.6704 MB / 0.7757 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.8593, allocations: 48 kB / 0.7758 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.8622, allocations: 1.411 MB / 0.7772 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.8626, allocations: 330.6 kB / 0.7775 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007751/0.8634, allocations: 0.6618 MB / 0.7781 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.8671, allocations: 2.504 MB / 0.7806 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.8671, allocations: 4 kB / 0.7806 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8671, allocations: 0 / 0.7806 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8672, allocations: 0 / 0.7806 GB, free: 7.191 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.002985/0.8702, allocations: 1.594 MB / 0.7821 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8702, allocations: 12.03 kB / 0.7821 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.8728, allocations: 401.7 kB / 0.7825 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.8743, allocations: 0.9566 MB / 0.7835 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.8744, allocations: 106.6 kB / 0.7836 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.8746, allocations: 124 kB / 0.7837 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.8772, allocations: 1.453 MB / 0.7851 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.8772, allocations: 3.938 kB / 0.7851 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.8774, allocations: 64 kB / 0.7852 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.8774, allocations: 39.92 kB / 0.7852 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.88, allocations: 1.536 MB / 0.7867 GB, free: 0.7266 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.006962/0.887, allocations: 4.93 MB / 0.7915 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.8894, allocations: 1.434 MB / 0.7929 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.8903, allocations: 456.8 kB / 0.7934 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007589/0.891, allocations: 437.4 kB / 0.7938 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.8922, allocations: 0.6256 MB / 0.7944 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 5.631e-06/0.8922, allocations: 3.984 kB / 0.7944 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.00392/0.8961, allocations: 1.551 MB / 0.7959 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.8962, allocations: 192.9 kB / 0.7961 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.8974, allocations: 0.8581 MB / 0.7969 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.8975, allocations: 45.7 kB / 0.797 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.8979, allocations: 0.5661 MB / 0.7975 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.8982, allocations: 327.2 kB / 0.7978 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.8983, allocations: 81.67 kB / 0.7979 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8985, allocations: 353.8 kB / 0.7982 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.8992, allocations: 369.8 kB / 0.7986 GB, free: 4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.9001, allocations: 0.5365 MB / 0.7991 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.9017, allocations: 0.9058 MB / 0.8 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9017, allocations: 0 / 0.8 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002659/0.9044, allocations: 1.161 MB / 0.8011 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.9044, allocations: 8 kB / 0.8011 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.9045, allocations: 0 / 0.8011 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.9051, allocations: 97.11 kB / 0.8012 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.9061, allocations: 235.7 kB / 0.8015 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.9083, allocations: 1.535 MB / 0.803 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9094, allocations: 149.8 kB / 0.8031 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.9094, allocations: 47.97 kB / 0.8032 GB, free: 15.09 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.0006132/0.9101, allocations: 329.5 kB / 0.8035 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.9102, allocations: 118.7 kB / 0.8036 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.9132, allocations: 1.346 MB / 0.8049 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.9132, allocations: 8 kB / 0.8049 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.9132, allocations: 0 / 0.8049 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.9133, allocations: 11.97 kB / 0.8049 GB, free: 13.26 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.004311/0.9176, allocations: 2.702 MB / 0.8076 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.9176, allocations: 0 / 0.8076 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/0.9185, allocations: 223.7 kB / 0.8078 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.9191, allocations: 80.78 kB / 0.8078 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.9191, allocations: 31.97 kB / 0.8079 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.921, allocations: 1.563 MB / 0.8094 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.921, allocations: 0 / 0.8094 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.9234, allocations: 1.234 MB / 0.8106 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.9239, allocations: 355.2 kB / 0.8109 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.924, allocations: 16 kB / 0.811 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/0.925, allocations: 109.3 kB / 0.8111 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.9251, allocations: 72.89 kB / 0.8111 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/0.9252, allocations: 47.97 kB / 0.8112 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007834/0.926, allocations: 0.5864 MB / 0.8118 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.926, allocations: 0 / 0.8118 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001162/0.9272, allocations: 458.9 kB / 0.8122 GB, free: 5.535 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.001558/0.9287, allocations: 0.7054 MB / 0.8129 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.9309, allocations: 1.074 MB / 0.8139 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9309, allocations: 4 kB / 0.8139 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.932, allocations: 0.6407 MB / 0.8146 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.9342, allocations: 485.4 kB / 0.815 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.9395, allocations: 2.976 MB / 0.8179 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000858/0.9403, allocations: 1.185 MB / 0.8191 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001364/0.9417, allocations: 373.2 kB / 0.8194 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.942, allocations: 135.3 kB / 0.8196 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.942, allocations: 7.938 kB / 0.8196 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.03826/0.9803, allocations: 21.89 MB / 0.841 GB, free: 8.477 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)