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.001377/0.001377, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001321/0.001321, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7866/0.7866, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.88 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4172, allocations: 80.9 MB / 0.5857 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5164/0.9337, allocations: 175.8 MB / 0.7574 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.9468, allocations: 12.63 MB / 0.7698 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.948, allocations: 31.12 kB / 0.7698 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.9491, allocations: 440 kB / 0.7702 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.9515, allocations: 0.9358 MB / 0.7711 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/0.9567, allocations: 1.813 MB / 0.7729 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.9596, allocations: 2.287 MB / 0.7751 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.9616, allocations: 1.593 MB / 0.7767 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.9653, allocations: 1.356 MB / 0.778 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.9666, allocations: 0.8151 MB / 0.7788 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.9668, allocations: 156.9 kB / 0.7789 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.9696, allocations: 1.413 MB / 0.7803 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.9701, allocations: 470.2 kB / 0.7808 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.9711, allocations: 0.8002 MB / 0.7816 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.9745, allocations: 2.634 MB / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.9745, allocations: 0 / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9745, allocations: 0.875 kB / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.9746, allocations: 2.953 kB / 0.7841 GB, free: 0.8398 MB / 0.5762 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.002992/0.9776, allocations: 1.898 MB / 0.786 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9776, allocations: 10.52 kB / 0.786 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.98, allocations: 403 kB / 0.7864 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.9815, allocations: 0.991 MB / 0.7874 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.9816, allocations: 96.09 kB / 0.7874 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.9818, allocations: 127.4 kB / 0.7876 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.9839, allocations: 1.455 MB / 0.789 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.9839, allocations: 6.188 kB / 0.789 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.984, allocations: 58.94 kB / 0.789 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.9841, allocations: 36.88 kB / 0.7891 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.9862, allocations: 1.53 MB / 0.7906 GB, free: 15.2 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.006058/0.9923, allocations: 4.89 MB / 0.7954 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.9944, allocations: 1.415 MB / 0.7967 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.9951, allocations: 452 kB / 0.7972 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.9958, allocations: 430.4 kB / 0.7976 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.9968, allocations: 0.618 MB / 0.7982 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.255e-06/0.9968, allocations: 0 / 0.7982 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003505/1, allocations: 1.533 MB / 0.7997 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1, allocations: 195.9 kB / 0.7999 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.001, allocations: 0.8524 MB / 0.8007 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/1.002, allocations: 46.55 kB / 0.8007 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/1.002, allocations: 0.5633 MB / 0.8013 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.002, allocations: 337.8 kB / 0.8016 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.002, allocations: 195.5 kB / 0.8018 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.003, allocations: 343.2 kB / 0.8021 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/1.003, allocations: 368.1 kB / 0.8025 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/1.004, allocations: 0.5272 MB / 0.803 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/1.005, allocations: 0.9045 MB / 0.8039 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.005, allocations: 0 / 0.8039 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002434/1.008, allocations: 1.15 MB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.008, allocations: 13.14 kB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.008, allocations: 3.062 kB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/1.008, allocations: 88.14 kB / 0.8051 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.01, allocations: 242.3 kB / 0.8053 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.012, allocations: 1.652 MB / 0.8069 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/1.013, allocations: 117.3 kB / 0.8071 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/1.013, allocations: 60.25 kB / 0.8071 GB, free: 8.844 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: 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.0005749/1.013, allocations: 326.8 kB / 0.8074 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.013, allocations: 119.2 kB / 0.8075 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/1.016, allocations: 1.325 MB / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.016, allocations: 10.75 kB / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.016, allocations: 0 / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.016, allocations: 7.438 kB / 0.8088 GB, free: 8.559 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.004083/1.02, allocations: 2.696 MB / 0.8115 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.02, allocations: 4.969 kB / 0.8115 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/1.021, allocations: 214.7 kB / 0.8117 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/1.022, allocations: 74.23 kB / 0.8118 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/1.022, allocations: 35.06 kB / 0.8118 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.024, allocations: 1.674 MB / 0.8134 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.024, allocations: 0.9375 kB / 0.8134 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.026, allocations: 1.224 MB / 0.8146 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/1.026, allocations: 337.2 kB / 0.8149 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.027, allocations: 21.03 kB / 0.815 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/1.027, allocations: 71.95 kB / 0.815 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.028, allocations: 77.92 kB / 0.8151 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.028, allocations: 49.28 kB / 0.8152 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008316/1.029, allocations: 0.5866 MB / 0.8157 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.029, allocations: 0.8438 kB / 0.8157 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001625/1.03, allocations: 462.8 kB / 0.8162 GB, free: 5.383 MB / 0.5919 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.001647/1.032, allocations: 0.7068 MB / 0.8169 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002155/1.034, allocations: 1.065 MB / 0.8179 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.034, allocations: 0.75 kB / 0.8179 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.035, allocations: 0.6359 MB / 0.8185 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.037, allocations: 0.5005 MB / 0.819 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/1.042, allocations: 2.331 MB / 0.8213 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/1.043, allocations: 1.18 MB / 0.8224 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001143/1.044, allocations: 374.2 kB / 0.8228 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.044, allocations: 129.9 kB / 0.8229 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/1.044, allocations: 0 / 0.8229 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.03861/1.083, allocations: 22.86 MB / 0.8452 GB, free: 12.63 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)