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.0009316/0.0009318, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001028/0.001028, allocations: 176.5 kB / 16.27 MB, free: 6.66 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.4 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003702, allocations: 11.98 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5161, allocations: 81.57 MB / 0.5837 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2215/0.7377, allocations: 171.2 MB / 0.7509 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.7563, allocations: 12.49 MB / 0.7631 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.7579, allocations: 31.81 kB / 0.7631 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.7594, allocations: 353.8 kB / 0.7634 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.7631, allocations: 0.8348 MB / 0.7643 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005301/0.7684, allocations: 1.625 MB / 0.7658 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.7724, allocations: 2.626 MB / 0.7684 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.7746, allocations: 1.358 MB / 0.7697 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.779, allocations: 1.108 MB / 0.7708 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.7802, allocations: 0.6684 MB / 0.7715 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.7804, allocations: 40 kB / 0.7715 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7834, allocations: 1.419 MB / 0.7729 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.7838, allocations: 314.7 kB / 0.7732 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000896/0.7848, allocations: 0.6657 MB / 0.7738 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.7882, allocations: 2.504 MB / 0.7763 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7882, allocations: 4 kB / 0.7763 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7882, allocations: 0 / 0.7763 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.429e-05/0.7882, allocations: 0 / 0.7763 GB, free: 10.69 MB / 0.6075 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.002965/0.7912, allocations: 1.593 MB / 0.7778 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7913, allocations: 12.03 kB / 0.7779 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.7939, allocations: 409.7 kB / 0.7782 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.7955, allocations: 0.9489 MB / 0.7792 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.7956, allocations: 98.56 kB / 0.7793 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.7958, allocations: 128 kB / 0.7794 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.7987, allocations: 1.46 MB / 0.7808 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.7987, allocations: 3.938 kB / 0.7808 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.7989, allocations: 55.94 kB / 0.7809 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.7989, allocations: 36 kB / 0.7809 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.8017, allocations: 1.543 MB / 0.7824 GB, free: 4.223 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.008019/0.8097, allocations: 4.944 MB / 0.7872 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.8124, allocations: 1.426 MB / 0.7886 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.8133, allocations: 452.3 kB / 0.7891 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.8141, allocations: 441.4 kB / 0.7895 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.8154, allocations: 0.6292 MB / 0.7901 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.8154, allocations: 0 / 0.7901 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.004304/0.8197, allocations: 1.553 MB / 0.7916 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.8199, allocations: 196.9 kB / 0.7918 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8211, allocations: 0.8503 MB / 0.7926 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.8212, allocations: 45.7 kB / 0.7927 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.8218, allocations: 0.5739 MB / 0.7932 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.8223, allocations: 331.2 kB / 0.7936 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.8224, allocations: 81.67 kB / 0.7936 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8226, allocations: 341.9 kB / 0.794 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.8234, allocations: 373.8 kB / 0.7943 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.8243, allocations: 0.5325 MB / 0.7948 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.826, allocations: 0.9136 MB / 0.7957 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.826, allocations: 0 / 0.7957 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002672/0.8287, allocations: 1.157 MB / 0.7969 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8288, allocations: 7.938 kB / 0.7969 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8288, allocations: 4 kB / 0.7969 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.8294, allocations: 89.17 kB / 0.797 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.8305, allocations: 247.6 kB / 0.7972 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.8327, allocations: 1.52 MB / 0.7987 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.8339, allocations: 151 kB / 0.7988 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.834, allocations: 43.97 kB / 0.7989 GB, free: 2.582 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.000725/0.8347, allocations: 335 kB / 0.7992 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.8349, allocations: 118.6 kB / 0.7993 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.8379, allocations: 1.342 MB / 0.8006 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.8379, allocations: 12 kB / 0.8006 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8379, allocations: 3.938 kB / 0.8006 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.838, allocations: 11.91 kB / 0.8006 GB, free: 0.7422 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.004606/0.8426, allocations: 2.701 MB / 0.8033 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.8426, allocations: 0 / 0.8033 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.8435, allocations: 211.8 kB / 0.8035 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.8441, allocations: 88.77 kB / 0.8036 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.8441, allocations: 31.97 kB / 0.8036 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.846, allocations: 1.567 MB / 0.8051 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.846, allocations: 3.938 kB / 0.8051 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.8487, allocations: 1.222 MB / 0.8063 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/0.8493, allocations: 359.2 kB / 0.8067 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.8495, allocations: 20 kB / 0.8067 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/0.8504, allocations: 106.3 kB / 0.8068 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.8506, allocations: 72.89 kB / 0.8068 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.8507, allocations: 47.97 kB / 0.8069 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008579/0.8516, allocations: 0.5825 MB / 0.8075 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8516, allocations: 4 kB / 0.8075 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001357/0.853, allocations: 462.9 kB / 0.8079 GB, free: 9.016 MB / 0.6387 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.001977/0.8549, allocations: 0.7033 MB / 0.8086 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002335/0.8573, allocations: 1.066 MB / 0.8096 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.8573, allocations: 0 / 0.8096 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8585, allocations: 0.6445 MB / 0.8103 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.8611, allocations: 486 kB / 0.8107 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.8667, allocations: 2.969 MB / 0.8136 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.8677, allocations: 1.182 MB / 0.8148 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001601/0.8693, allocations: 377.2 kB / 0.8151 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.8697, allocations: 139.3 kB / 0.8153 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.8697, allocations: 0 / 0.8153 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of Templates: time 0.3894/1.259, allocations: 21.88 MB / 0.8366 GB, free: 209.5 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)