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-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_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.0008591/0.0008591, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008571/0.000857, allocations: 177.3 kB / 15.95 MB, free: 216 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.235/1.235, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8699/0.8699, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002941, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 82.32 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3822/0.5317, allocations: 146.9 MB / 0.7307 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.5459, allocations: 10.66 MB / 0.7411 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009955/0.5469, allocations: 24.94 kB / 0.7411 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.5478, allocations: 277.9 kB / 0.7414 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.5501, allocations: 0.7717 MB / 0.7422 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.5537, allocations: 1.206 MB / 0.7433 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.5556, allocations: 1.361 MB / 0.7447 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.557, allocations: 1.164 MB / 0.7458 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.5595, allocations: 1.081 MB / 0.7469 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.5604, allocations: 0.5055 MB / 0.7473 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.5605, allocations: 44 kB / 0.7474 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.5624, allocations: 0.7336 MB / 0.7481 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.5627, allocations: 308.1 kB / 0.7484 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.563, allocations: 284.9 kB / 0.7487 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.5649, allocations: 1.761 MB / 0.7504 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.5649, allocations: 0 / 0.7504 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5649, allocations: 0 / 0.7504 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.5649, allocations: 0 / 0.7504 GB, free: 5.434 MB / 0.5606 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.002427/0.5673, allocations: 1.582 MB / 0.7519 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.5674, allocations: 8.031 kB / 0.7519 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.5697, allocations: 413.7 kB / 0.7523 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.5711, allocations: 0.9222 MB / 0.7532 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.5712, allocations: 94.62 kB / 0.7533 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5713, allocations: 135.9 kB / 0.7535 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.5734, allocations: 1.441 MB / 0.7549 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5735, allocations: 0 / 0.7549 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.5736, allocations: 60 kB / 0.7549 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.5736, allocations: 32 kB / 0.755 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.5759, allocations: 1.532 MB / 0.7564 GB, free: 15.04 MB / 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.005889/0.5818, allocations: 4.928 MB / 0.7613 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.5839, allocations: 1.296 MB / 0.7625 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.5844, allocations: 263.2 kB / 0.7628 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.5854, allocations: 0.621 MB / 0.7634 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 2.154e-06/0.5854, allocations: 0 / 0.7634 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98): time 0.003394/0.5888, allocations: 1.537 MB / 0.7649 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.5889, allocations: 196.9 kB / 0.7651 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.5898, allocations: 0.8465 MB / 0.7659 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.5899, allocations: 41.7 kB / 0.7659 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.5903, allocations: 0.5817 MB / 0.7665 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.5905, allocations: 327.2 kB / 0.7668 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.5906, allocations: 20 kB / 0.7668 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5907, allocations: 337.9 kB / 0.7672 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.5913, allocations: 345.8 kB / 0.7675 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.5921, allocations: 0.5163 MB / 0.768 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.5928, allocations: 414.8 kB / 0.7684 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5928, allocations: 4 kB / 0.7684 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002104/0.5949, allocations: 1.102 MB / 0.7695 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.595, allocations: 14.28 kB / 0.7695 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.595, allocations: 0 / 0.7695 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.5955, allocations: 92.98 kB / 0.7696 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009438/0.5965, allocations: 227.7 kB / 0.7698 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.5982, allocations: 1.544 MB / 0.7713 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/0.5991, allocations: 145.7 kB / 0.7714 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.5992, allocations: 48.23 kB / 0.7715 GB, free: 14.97 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0004571/0.5996, allocations: 317.5 kB / 0.7718 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5998, allocations: 122.7 kB / 0.7719 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.6024, allocations: 1.347 MB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.6025, allocations: 12 kB / 0.7732 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.6025, allocations: 0 / 0.7732 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6025, allocations: 3.984 kB / 0.7732 GB, free: 13.16 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.003981/0.6065, allocations: 2.724 MB / 0.7759 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6065, allocations: 128 / 0.7759 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.6074, allocations: 227.7 kB / 0.7761 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.6078, allocations: 84.78 kB / 0.7762 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.6079, allocations: 35.97 kB / 0.7762 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.6095, allocations: 1.571 MB / 0.7778 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6096, allocations: 3.938 kB / 0.7778 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6118, allocations: 1.3 MB / 0.779 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.6123, allocations: 351.2 kB / 0.7794 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.6124, allocations: 24 kB / 0.7794 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/0.6133, allocations: 103.8 kB / 0.7795 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6134, allocations: 76.89 kB / 0.7796 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/0.6135, allocations: 43.97 kB / 0.7796 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007456/0.6143, allocations: 0.5825 MB / 0.7802 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6143, allocations: 0 / 0.7802 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00109/0.6154, allocations: 462.8 kB / 0.7806 GB, free: 5.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001331/0.6167, allocations: 0.695 MB / 0.7813 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.6186, allocations: 1.031 MB / 0.7823 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6187, allocations: 6.5 kB / 0.7823 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6197, allocations: 0.6406 MB / 0.7829 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6216, allocations: 468.8 kB / 0.7834 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004705/0.6263, allocations: 2.956 MB / 0.7863 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.627, allocations: 1.211 MB / 0.7874 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001284/0.6283, allocations: 369.3 kB / 0.7878 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.6286, allocations: 131.4 kB / 0.7879 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.6287, allocations: 0 / 0.7879 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.03096/0.6596, allocations: 21.16 MB / 0.8086 GB, free: 9.023 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: