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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0007565/0.0007565, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000819/0.000819, allocations: 172.7 kB / 15.95 MB, free: 208 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.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 8 kB / 0.5034 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3529, allocations: 81.58 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1668/0.5197, allocations: 159.7 MB / 0.7391 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.533, allocations: 11.72 MB / 0.7505 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008098/0.5338, allocations: 31.81 kB / 0.7505 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.5348, allocations: 293.8 kB / 0.7508 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.5369, allocations: 0.7838 MB / 0.7516 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.5402, allocations: 1.345 MB / 0.7529 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.5428, allocations: 2.306 MB / 0.7551 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.5446, allocations: 1.153 MB / 0.7563 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.5468, allocations: 1.004 MB / 0.7573 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.5478, allocations: 0.6337 MB / 0.7579 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.548, allocations: 40 kB / 0.7579 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.5499, allocations: 0.8813 MB / 0.7588 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.5503, allocations: 310.8 kB / 0.7591 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.5507, allocations: 292.9 kB / 0.7593 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.5527, allocations: 1.824 MB / 0.7611 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5527, allocations: 0 / 0.7611 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5527, allocations: 0 / 0.7611 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.321e-05/0.5527, allocations: 0 / 0.7611 GB, free: 9.703 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.002647/0.5554, allocations: 1.603 MB / 0.7627 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.5554, allocations: 8.031 kB / 0.7627 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.5579, allocations: 413.7 kB / 0.7631 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5593, allocations: 0.9106 MB / 0.764 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.5593, allocations: 98.62 kB / 0.7641 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.5595, allocations: 127.9 kB / 0.7642 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.5619, allocations: 1.456 MB / 0.7656 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5619, allocations: 3.938 kB / 0.7656 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.562, allocations: 52 kB / 0.7657 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.562, allocations: 36 kB / 0.7657 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.5645, allocations: 1.528 MB / 0.7672 GB, free: 3.293 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.006088/0.5706, allocations: 4.95 MB / 0.772 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.5729, allocations: 1.42 MB / 0.7734 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.5736, allocations: 448.3 kB / 0.7739 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.5743, allocations: 441.4 kB / 0.7743 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.5754, allocations: 0.6177 MB / 0.7749 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/0.5755, allocations: 0 / 0.7749 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003732/0.5792, allocations: 1.543 MB / 0.7764 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.5793, allocations: 188.9 kB / 0.7766 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5804, allocations: 0.8426 MB / 0.7774 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.5805, allocations: 41.7 kB / 0.7774 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.5809, allocations: 0.5739 MB / 0.778 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.5812, allocations: 335.2 kB / 0.7783 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.5812, allocations: 20 kB / 0.7783 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5813, allocations: 337.9 kB / 0.7786 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.5821, allocations: 373.7 kB / 0.779 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.5829, allocations: 0.5311 MB / 0.7795 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.5837, allocations: 434.8 kB / 0.7799 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5837, allocations: 0 / 0.7799 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002305/0.586, allocations: 1.153 MB / 0.7811 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.586, allocations: 4.406 kB / 0.7811 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5861, allocations: 8 kB / 0.7811 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.5866, allocations: 88.77 kB / 0.7812 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5877, allocations: 243.6 kB / 0.7814 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.5895, allocations: 1.547 MB / 0.7829 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.5904, allocations: 142.9 kB / 0.783 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.5905, allocations: 43.97 kB / 0.7831 GB, free: 2.289 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0004864/0.591, allocations: 327.1 kB / 0.7834 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.5912, allocations: 118.5 kB / 0.7835 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.5941, allocations: 1.349 MB / 0.7848 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5941, allocations: 12.08 kB / 0.7848 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5941, allocations: 0 / 0.7848 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5941, allocations: 11.97 kB / 0.7848 GB, free: 472 kB / 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 postOpt removeSimpleEquations (simulation): time 0.004139/0.5983, allocations: 2.693 MB / 0.7875 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.5983, allocations: 3.938 kB / 0.7875 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/0.5993, allocations: 211.8 kB / 0.7877 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/0.5998, allocations: 80.78 kB / 0.7878 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.5999, allocations: 35.97 kB / 0.7878 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.6017, allocations: 1.555 MB / 0.7893 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6017, allocations: 0 / 0.7893 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.6042, allocations: 1.222 MB / 0.7905 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.6049, allocations: 359.1 kB / 0.7908 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.6051, allocations: 20 kB / 0.7909 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.6061, allocations: 100.5 kB / 0.791 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.6063, allocations: 80.89 kB / 0.791 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6064, allocations: 51.92 kB / 0.7911 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008213/0.6072, allocations: 0.5824 MB / 0.7917 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6072, allocations: 0 / 0.7917 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001331/0.6086, allocations: 458.9 kB / 0.7921 GB, free: 8.75 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 (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.001643/0.6102, allocations: 0.6875 MB / 0.7928 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.6123, allocations: 1.066 MB / 0.7938 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6123, allocations: 7.75 kB / 0.7938 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6134, allocations: 0.629 MB / 0.7944 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6154, allocations: 474.9 kB / 0.7949 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.6204, allocations: 2.937 MB / 0.7978 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/0.6212, allocations: 1.175 MB / 0.7989 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001389/0.6225, allocations: 376.3 kB / 0.7993 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.6229, allocations: 131.4 kB / 0.7994 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of SimCode: time 4.8e-07/0.6229, allocations: 0 / 0.7994 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.2696/0.8925, allocations: 21.22 MB / 0.8201 GB, free: 216.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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)