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.0008744/0.0008744, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0008953/0.0008954, allocations: 177.3 kB / 15.94 MB, free: 228 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003137, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.395/0.5462, allocations: 147 MB / 0.7307 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.5595, allocations: 10.65 MB / 0.7411 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.5606, allocations: 29.62 kB / 0.7411 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5617, allocations: 274.4 kB / 0.7414 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.5639, allocations: 0.774 MB / 0.7421 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.5673, allocations: 1.208 MB / 0.7433 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.5692, allocations: 1.359 MB / 0.7447 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.5706, allocations: 1.169 MB / 0.7458 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.5725, allocations: 1.081 MB / 0.7468 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.5731, allocations: 0.5064 MB / 0.7473 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.5732, allocations: 48 kB / 0.7474 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.5748, allocations: 0.7297 MB / 0.7481 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.575, allocations: 304.1 kB / 0.7484 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.5753, allocations: 280.9 kB / 0.7487 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5769, allocations: 1.767 MB / 0.7504 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.5769, allocations: 0 / 0.7504 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5769, allocations: 0 / 0.7504 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5769, allocations: 0 / 0.7504 GB, free: 5.418 MB / 0.5606 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.002317/0.5793, allocations: 1.578 MB / 0.7519 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5793, allocations: 11.97 kB / 0.7519 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.5816, allocations: 409.7 kB / 0.7523 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5829, allocations: 0.9261 MB / 0.7532 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.583, allocations: 98.62 kB / 0.7533 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5831, allocations: 132 kB / 0.7535 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.5852, allocations: 1.437 MB / 0.7549 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5852, allocations: 0 / 0.7549 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.5853, allocations: 64 kB / 0.7549 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5854, allocations: 32 kB / 0.7549 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.5876, allocations: 1.528 MB / 0.7564 GB, free: 15.03 MB / 0.5762 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.005944/0.5936, allocations: 4.938 MB / 0.7613 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.5957, allocations: 1.302 MB / 0.7625 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/0.5961, allocations: 259.2 kB / 0.7628 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/0.5971, allocations: 0.6194 MB / 0.7634 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 2.515e-06/0.5971, allocations: 0 / 0.7634 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98): time 0.003436/0.6006, allocations: 1.537 MB / 0.7649 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.6006, allocations: 192.9 kB / 0.7651 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/0.6016, allocations: 0.8542 MB / 0.7659 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.6017, allocations: 41.7 kB / 0.7659 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.6021, allocations: 0.57 MB / 0.7665 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.6024, allocations: 327.2 kB / 0.7668 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.6024, allocations: 20 kB / 0.7668 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6025, allocations: 337.9 kB / 0.7672 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.6031, allocations: 345.8 kB / 0.7675 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.6039, allocations: 0.5202 MB / 0.768 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.6046, allocations: 414.8 kB / 0.7684 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6046, allocations: 4 kB / 0.7684 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002089/0.6067, allocations: 1.098 MB / 0.7695 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6067, allocations: 8 kB / 0.7695 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6067, allocations: 3.938 kB / 0.7695 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.6073, allocations: 97.12 kB / 0.7696 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.6082, allocations: 227.7 kB / 0.7698 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.6101, allocations: 1.555 MB / 0.7713 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.611, allocations: 139 kB / 0.7714 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.611, allocations: 39.98 kB / 0.7715 GB, free: 14.96 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0005004/0.6116, allocations: 325.9 kB / 0.7718 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6117, allocations: 114.7 kB / 0.7719 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.6144, allocations: 1.35 MB / 0.7732 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6144, allocations: 16 kB / 0.7732 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6144, allocations: 0 / 0.7732 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6144, allocations: 7.969 kB / 0.7732 GB, free: 13.15 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.004072/0.6185, allocations: 2.72 MB / 0.7759 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6185, allocations: 0 / 0.7759 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.6194, allocations: 219.7 kB / 0.7761 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.6199, allocations: 88.89 kB / 0.7762 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.62, allocations: 27.98 kB / 0.7762 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.6216, allocations: 1.588 MB / 0.7778 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6216, allocations: 3.984 kB / 0.7778 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.6238, allocations: 1.304 MB / 0.779 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.6243, allocations: 351.2 kB / 0.7794 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6245, allocations: 24 kB / 0.7794 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.6253, allocations: 95.83 kB / 0.7795 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6254, allocations: 76.89 kB / 0.7796 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.393e-05/0.6255, allocations: 47.97 kB / 0.7796 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006909/0.6262, allocations: 0.5863 MB / 0.7802 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6262, allocations: 0 / 0.7802 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001059/0.6273, allocations: 458.8 kB / 0.7806 GB, free: 5.254 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001316/0.6286, allocations: 0.6842 MB / 0.7813 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.6305, allocations: 1.031 MB / 0.7823 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6305, allocations: 6.5 kB / 0.7823 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.6315, allocations: 0.6447 MB / 0.7829 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.6333, allocations: 466.7 kB / 0.7834 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.6379, allocations: 2.949 MB / 0.7863 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.6386, allocations: 1.209 MB / 0.7874 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001229/0.6399, allocations: 369.2 kB / 0.7878 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.6402, allocations: 131.4 kB / 0.7879 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/0.6402, allocations: 4 kB / 0.7879 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.03149/0.6717, allocations: 21.17 MB / 0.8086 GB, free: 9.008 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: