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.001134/0.001134, 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.00146/0.00146, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 58.66 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1976, allocations: 80.93 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5599/0.7576, allocations: 173.5 MB / 0.7531 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.7751, allocations: 12.66 MB / 0.7655 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.7774, allocations: 31.81 kB / 0.7655 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.7796, allocations: 365.7 kB / 0.7659 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.7831, allocations: 0.8312 MB / 0.7667 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.7882, allocations: 1.627 MB / 0.7683 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.792, allocations: 2.622 MB / 0.7709 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.7944, allocations: 1.47 MB / 0.7723 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/0.7997, allocations: 1.204 MB / 0.7735 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.8012, allocations: 0.7933 MB / 0.7742 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.8016, allocations: 88 kB / 0.7743 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.8052, allocations: 1.458 MB / 0.7757 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.8058, allocations: 390.6 kB / 0.7761 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.8073, allocations: 0.7343 MB / 0.7768 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.8128, allocations: 2.57 MB / 0.7793 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8128, allocations: 4 kB / 0.7794 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8129, allocations: 0 / 0.7794 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.494e-05/0.813, allocations: 0 / 0.7794 GB, free: 5.02 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.005527/0.8185, allocations: 1.905 MB / 0.7812 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.8186, allocations: 12.03 kB / 0.7812 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.8217, allocations: 389.7 kB / 0.7816 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.8237, allocations: 0.9604 MB / 0.7825 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/0.8238, allocations: 102.6 kB / 0.7826 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.824, allocations: 124 kB / 0.7828 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.8268, allocations: 1.453 MB / 0.7842 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.8269, allocations: 0 / 0.7842 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.827, allocations: 67.98 kB / 0.7842 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.8271, allocations: 32 kB / 0.7843 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.8297, allocations: 1.528 MB / 0.7858 GB, free: 14.27 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.00713/0.8368, allocations: 4.911 MB / 0.7906 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.8393, allocations: 1.422 MB / 0.7919 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007913/0.8401, allocations: 452.8 kB / 0.7924 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/0.8409, allocations: 425.4 kB / 0.7928 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.8421, allocations: 0.6216 MB / 0.7934 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.535e-06/0.8421, allocations: 0 / 0.7934 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004149/0.8462, allocations: 1.532 MB / 0.7949 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.8464, allocations: 188.9 kB / 0.7951 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.8476, allocations: 0.8543 MB / 0.7959 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.8477, allocations: 49.7 kB / 0.7959 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.8482, allocations: 0.57 MB / 0.7965 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.8484, allocations: 327.2 kB / 0.7968 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.8488, allocations: 210.4 kB / 0.797 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8489, allocations: 345.9 kB / 0.7973 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.8496, allocations: 365.8 kB / 0.7977 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.8505, allocations: 0.5247 MB / 0.7982 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8522, allocations: 0.9136 MB / 0.7991 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.8522, allocations: 0 / 0.7991 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002738/0.8549, allocations: 1.149 MB / 0.8002 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.855, allocations: 8 kB / 0.8002 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.855, allocations: 4 kB / 0.8002 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.8557, allocations: 92.84 kB / 0.8003 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.8568, allocations: 239.7 kB / 0.8005 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.8591, allocations: 1.531 MB / 0.802 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8603, allocations: 137 kB / 0.8022 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.8604, allocations: 47.97 kB / 0.8022 GB, free: 12.62 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.0006957/0.8611, allocations: 333.5 kB / 0.8025 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.8614, allocations: 118.5 kB / 0.8027 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.8645, allocations: 1.329 MB / 0.8039 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.8645, allocations: 12 kB / 0.804 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8645, allocations: 4 kB / 0.804 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.8646, allocations: 3.984 kB / 0.804 GB, free: 10.81 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.005084/0.8697, allocations: 2.69 MB / 0.8066 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8697, allocations: 0 / 0.8066 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8707, allocations: 219.7 kB / 0.8068 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.8713, allocations: 84.8 kB / 0.8069 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.8714, allocations: 27.98 kB / 0.8069 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.8736, allocations: 1.559 MB / 0.8084 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.8736, allocations: 0 / 0.8084 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.8766, allocations: 1.23 MB / 0.8096 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.8773, allocations: 339.3 kB / 0.81 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.8775, allocations: 20 kB / 0.81 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.8784, allocations: 91.81 kB / 0.8101 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.8786, allocations: 68.91 kB / 0.8101 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-05/0.8787, allocations: 43.97 kB / 0.8102 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008819/0.8796, allocations: 0.5903 MB / 0.8108 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8796, allocations: 4 kB / 0.8108 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001467/0.8811, allocations: 458.9 kB / 0.8112 GB, free: 3.133 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.001756/0.8829, allocations: 0.707 MB / 0.8119 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.8852, allocations: 1.066 MB / 0.8129 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.8852, allocations: 4 kB / 0.8129 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.8864, allocations: 0.6327 MB / 0.8135 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.8888, allocations: 482.5 kB / 0.814 GB, free: 468 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.8943, allocations: 2.911 MB / 0.8168 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.8951, allocations: 1.182 MB / 0.818 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001778/0.8969, allocations: 373.3 kB / 0.8184 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.8974, allocations: 131.4 kB / 0.8185 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of SimCode: time 2.785e-06/0.8974, allocations: 4 kB / 0.8185 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of Templates: time 0.04039/0.9378, allocations: 22.02 MB / 0.84 GB, free: 6.059 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)