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.001799/0.001799, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002236/0.002236, allocations: 198.6 kB / 16.14 MB, free: 6.707 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.6 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.47 kB / 0.5052 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.207, allocations: 81.01 MB / 0.5843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5215/0.7286, allocations: 173.5 MB / 0.7538 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.7481, allocations: 12.67 MB / 0.7661 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.7497, allocations: 31.81 kB / 0.7662 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.7512, allocations: 361.8 kB / 0.7665 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.7548, allocations: 0.8235 MB / 0.7673 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005108/0.7599, allocations: 1.631 MB / 0.7689 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.7639, allocations: 2.634 MB / 0.7715 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.7668, allocations: 1.453 MB / 0.7729 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006633/0.7735, allocations: 1.207 MB / 0.7741 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.7752, allocations: 0.7972 MB / 0.7749 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.7755, allocations: 88 kB / 0.7749 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.7795, allocations: 1.454 MB / 0.7764 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.78, allocations: 390.6 kB / 0.7767 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.7811, allocations: 0.7303 MB / 0.7774 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.7855, allocations: 2.578 MB / 0.78 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7855, allocations: 0 / 0.78 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7855, allocations: 4 kB / 0.78 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.7855, allocations: 0 / 0.78 GB, free: 4.125 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.003591/0.7891, allocations: 1.901 MB / 0.7818 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7892, allocations: 12.03 kB / 0.7818 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.792, allocations: 397.7 kB / 0.7822 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.7937, allocations: 0.9527 MB / 0.7831 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.154e-05/0.7938, allocations: 94.62 kB / 0.7832 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.794, allocations: 128 kB / 0.7834 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.7969, allocations: 1.46 MB / 0.7848 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7969, allocations: 0 / 0.7848 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.7971, allocations: 56 kB / 0.7848 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.7971, allocations: 36 kB / 0.7849 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.8, allocations: 1.539 MB / 0.7864 GB, free: 13.37 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.008162/0.8082, allocations: 4.903 MB / 0.7912 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.8109, allocations: 1.426 MB / 0.7926 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.8118, allocations: 459.8 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000875/0.8127, allocations: 421.4 kB / 0.7934 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.814, allocations: 0.6178 MB / 0.794 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.875e-06/0.814, allocations: 0 / 0.794 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004526/0.8186, allocations: 1.539 MB / 0.7955 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.8187, allocations: 192.9 kB / 0.7957 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.8201, allocations: 0.8504 MB / 0.7965 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.8203, allocations: 49.64 kB / 0.7966 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/0.8209, allocations: 0.57 MB / 0.7971 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.8212, allocations: 331.1 kB / 0.7974 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.8216, allocations: 198.5 kB / 0.7976 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.8218, allocations: 349.9 kB / 0.798 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.8226, allocations: 365.8 kB / 0.7983 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.8236, allocations: 0.5325 MB / 0.7988 GB, free: 16 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.8255, allocations: 0.898 MB / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8255, allocations: 0 / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002886/0.8284, allocations: 1.157 MB / 0.8008 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8284, allocations: 6.031 kB / 0.8008 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8284, allocations: 4.406 kB / 0.8008 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.8291, allocations: 92.7 kB / 0.8009 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.8302, allocations: 239.7 kB / 0.8012 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.8326, allocations: 1.532 MB / 0.8027 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.8339, allocations: 135 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.834, allocations: 47.97 kB / 0.8028 GB, free: 11.72 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.0007722/0.8348, allocations: 335 kB / 0.8032 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.835, allocations: 118.5 kB / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/0.8383, allocations: 1.328 MB / 0.8046 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.8383, allocations: 8 kB / 0.8046 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8383, allocations: 0 / 0.8046 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.8384, allocations: 11.97 kB / 0.8046 GB, free: 9.91 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.005339/0.8437, allocations: 2.694 MB / 0.8072 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8437, allocations: 0 / 0.8072 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.8448, allocations: 215.7 kB / 0.8074 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/0.8453, allocations: 80.78 kB / 0.8075 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/0.8454, allocations: 31.97 kB / 0.8075 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.8477, allocations: 1.563 MB / 0.8091 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8478, allocations: 3.938 kB / 0.8091 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.8506, allocations: 1.218 MB / 0.8102 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.8513, allocations: 339.3 kB / 0.8106 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.8515, allocations: 23.91 kB / 0.8106 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.8524, allocations: 87.91 kB / 0.8107 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.8526, allocations: 76.83 kB / 0.8108 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8528, allocations: 47.97 kB / 0.8108 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001069/0.8538, allocations: 0.5864 MB / 0.8114 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8539, allocations: 0 / 0.8114 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001528/0.8554, allocations: 454.9 kB / 0.8118 GB, free: 2.238 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.002431/0.8578, allocations: 0.7021 MB / 0.8125 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.8604, allocations: 1.074 MB / 0.8135 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8605, allocations: 0 / 0.8135 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.8619, allocations: 0.6296 MB / 0.8142 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.8645, allocations: 492.4 kB / 0.8146 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.8704, allocations: 2.911 MB / 0.8175 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.8714, allocations: 1.182 MB / 0.8186 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001638/0.873, allocations: 369.3 kB / 0.819 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.8734, allocations: 135.4 kB / 0.8191 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8734, allocations: 0 / 0.8191 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.04365/0.9171, allocations: 22 MB / 0.8406 GB, free: 5.188 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)