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.001756/0.001756, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001947/0.001947, allocations: 194.9 kB / 16.25 MB, free: 6.633 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9488/0.9488, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.73 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4571/0.6319, allocations: 173.4 MB / 0.7539 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.6484, allocations: 12.48 MB / 0.7661 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.6497, allocations: 31.88 kB / 0.7661 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.651, allocations: 369.7 kB / 0.7665 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.6537, allocations: 0.8335 MB / 0.7673 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.658, allocations: 1.667 MB / 0.7689 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002863/0.6609, allocations: 2.287 MB / 0.7711 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.663, allocations: 1.573 MB / 0.7727 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004699/0.6677, allocations: 1.353 MB / 0.774 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.6689, allocations: 0.8285 MB / 0.7748 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.6691, allocations: 160 kB / 0.7749 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.6718, allocations: 1.419 MB / 0.7763 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.6722, allocations: 470.6 kB / 0.7768 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008419/0.6731, allocations: 0.8007 MB / 0.7776 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.6768, allocations: 2.645 MB / 0.7801 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6769, allocations: 0 / 0.7801 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6769, allocations: 0 / 0.7801 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.6769, allocations: 0 / 0.7801 GB, free: 4.059 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.003286/0.6802, allocations: 1.906 MB / 0.782 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6802, allocations: 12.03 kB / 0.782 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.6828, allocations: 397.7 kB / 0.7824 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6843, allocations: 0.9604 MB / 0.7833 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.6844, allocations: 98.56 kB / 0.7834 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.6846, allocations: 124 kB / 0.7835 GB, free: 484 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.6871, allocations: 1.46 MB / 0.785 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.6872, allocations: 7.938 kB / 0.785 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.6873, allocations: 56 kB / 0.785 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.6873, allocations: 32 kB / 0.7851 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.6899, allocations: 1.532 MB / 0.7866 GB, free: 13.3 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.007157/0.6971, allocations: 4.906 MB / 0.7914 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.6996, allocations: 1.419 MB / 0.7927 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.7004, allocations: 452.8 kB / 0.7932 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/0.7012, allocations: 425.3 kB / 0.7936 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.7023, allocations: 0.6177 MB / 0.7942 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 4.599e-06/0.7023, allocations: 3.984 kB / 0.7942 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004052/0.7064, allocations: 1.532 MB / 0.7957 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7066, allocations: 192.9 kB / 0.7959 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7078, allocations: 0.8542 MB / 0.7967 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.7079, allocations: 45.7 kB / 0.7967 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/0.7084, allocations: 0.5701 MB / 0.7973 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.7087, allocations: 335.1 kB / 0.7976 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.709, allocations: 194.5 kB / 0.7978 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7092, allocations: 345.9 kB / 0.7981 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.7099, allocations: 365.8 kB / 0.7985 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/0.7108, allocations: 0.5296 MB / 0.799 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.7125, allocations: 0.9019 MB / 0.7999 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.7125, allocations: 0 / 0.7999 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002659/0.7151, allocations: 1.16 MB / 0.801 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7152, allocations: 6.344 kB / 0.801 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7152, allocations: 4 kB / 0.801 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.7158, allocations: 93.11 kB / 0.8011 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.7168, allocations: 235.6 kB / 0.8013 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.719, allocations: 1.643 MB / 0.8029 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.72, allocations: 135 kB / 0.8031 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.7202, allocations: 47.97 kB / 0.8031 GB, free: 11.55 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.0006138/0.7208, allocations: 339.2 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.721, allocations: 122.5 kB / 0.8036 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.724, allocations: 1.322 MB / 0.8048 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.724, allocations: 15.94 kB / 0.8049 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.724, allocations: 0 / 0.8049 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.724, allocations: 3.984 kB / 0.8049 GB, free: 9.738 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.004603/0.7287, allocations: 2.694 MB / 0.8075 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7287, allocations: 0 / 0.8075 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/0.7296, allocations: 211.8 kB / 0.8077 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.7301, allocations: 76.72 kB / 0.8078 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.7302, allocations: 27.98 kB / 0.8078 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.7323, allocations: 1.681 MB / 0.8094 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7323, allocations: 0 / 0.8094 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.7354, allocations: 1.23 MB / 0.8106 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.7361, allocations: 335.2 kB / 0.811 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.7362, allocations: 24 kB / 0.811 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.7371, allocations: 83.91 kB / 0.8111 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.7373, allocations: 72.89 kB / 0.8111 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.7374, allocations: 47.97 kB / 0.8112 GB, free: 3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008222/0.7383, allocations: 0.5903 MB / 0.8118 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7383, allocations: 0 / 0.8118 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001196/0.7395, allocations: 458.8 kB / 0.8122 GB, free: 1.949 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.002084/0.7416, allocations: 0.7128 MB / 0.8129 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003233/0.7448, allocations: 1.367 MB / 0.8142 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7448, allocations: 0 / 0.8142 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.746, allocations: 0.6369 MB / 0.8148 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.7482, allocations: 0.5032 MB / 0.8153 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.7534, allocations: 2.912 MB / 0.8182 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/0.7542, allocations: 1.178 MB / 0.8193 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001462/0.7557, allocations: 373.2 kB / 0.8197 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.756, allocations: 131.4 kB / 0.8198 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.756, allocations: 0 / 0.8198 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.04103/0.7971, allocations: 22.79 MB / 0.8421 GB, free: 3.809 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)