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.001129/0.001129, allocations: 106.5 kB / 16.35 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.001203/0.001203, allocations: 189.4 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8132/0.8132, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5441/0.8845, allocations: 175.8 MB / 0.7574 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.9005, allocations: 12.64 MB / 0.7698 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.9031, allocations: 33.56 kB / 0.7698 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.9049, allocations: 433.4 kB / 0.7702 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.9088, allocations: 0.9347 MB / 0.7711 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0058/0.9146, allocations: 1.819 MB / 0.7729 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003123/0.9177, allocations: 2.285 MB / 0.7751 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.9197, allocations: 1.592 MB / 0.7767 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.9238, allocations: 1.351 MB / 0.778 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.9253, allocations: 0.8134 MB / 0.7788 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.9255, allocations: 157.2 kB / 0.779 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.9285, allocations: 1.412 MB / 0.7803 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.9289, allocations: 469.6 kB / 0.7808 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.9297, allocations: 0.8046 MB / 0.7816 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.9331, allocations: 2.63 MB / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9331, allocations: 0.8438 kB / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9331, allocations: 0 / 0.7841 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.9332, allocations: 0.9062 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.002929/0.9361, allocations: 1.905 MB / 0.786 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9361, allocations: 11.64 kB / 0.786 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.9387, allocations: 400.8 kB / 0.7864 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.9402, allocations: 0.9949 MB / 0.7874 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.9403, allocations: 97.75 kB / 0.7875 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.9404, allocations: 125.2 kB / 0.7876 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.9426, allocations: 1.456 MB / 0.789 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.9426, allocations: 0 / 0.789 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.9427, allocations: 59.19 kB / 0.7891 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.9428, allocations: 33.31 kB / 0.7891 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.945, allocations: 1.534 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.006735/0.9517, allocations: 4.89 MB / 0.7954 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.954, allocations: 1.416 MB / 0.7967 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.9548, allocations: 450.1 kB / 0.7972 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.9555, allocations: 424.4 kB / 0.7976 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000969/0.9565, allocations: 0.6158 MB / 0.7982 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.495e-06/0.9565, allocations: 0 / 0.7982 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003576/0.9601, allocations: 1.534 MB / 0.7997 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.9602, allocations: 198.3 kB / 0.7999 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.9613, allocations: 0.8515 MB / 0.8007 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-05/0.9614, allocations: 45.58 kB / 0.8007 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.9619, allocations: 0.5685 MB / 0.8013 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.9621, allocations: 338.4 kB / 0.8016 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.9624, allocations: 195 kB / 0.8018 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9626, allocations: 344.9 kB / 0.8021 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.9632, allocations: 366.9 kB / 0.8025 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.9642, allocations: 0.5251 MB / 0.803 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.9658, allocations: 0.8993 MB / 0.8039 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9658, allocations: 3.406 kB / 0.8039 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002754/0.9686, allocations: 1.148 MB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.9687, allocations: 13.44 kB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9687, allocations: 2.812 kB / 0.805 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.9693, allocations: 90.34 kB / 0.8051 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.9703, allocations: 238.8 kB / 0.8053 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.9726, allocations: 1.653 MB / 0.8069 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.9737, allocations: 120.7 kB / 0.8071 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.9738, allocations: 51.33 kB / 0.8071 GB, free: 8.848 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.0009148/0.9747, allocations: 338.6 kB / 0.8074 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.975, allocations: 113.5 kB / 0.8075 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.978, allocations: 1.328 MB / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.978, allocations: 13.59 kB / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.978, allocations: 0 / 0.8088 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.978, allocations: 7.016 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.004896/0.9829, allocations: 2.696 MB / 0.8115 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.983, allocations: 0 / 0.8115 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.984, allocations: 218 kB / 0.8117 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.9844, allocations: 73.23 kB / 0.8118 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.9845, allocations: 33.11 kB / 0.8118 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.9865, allocations: 1.674 MB / 0.8134 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.9865, allocations: 1.969 kB / 0.8134 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.9891, allocations: 1.225 MB / 0.8146 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/0.9898, allocations: 339 kB / 0.8149 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.99, allocations: 24.19 kB / 0.815 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.9908, allocations: 71.94 kB / 0.815 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.991, allocations: 75.98 kB / 0.8151 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.9911, allocations: 45.27 kB / 0.8152 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008113/0.9919, allocations: 0.5912 MB / 0.8157 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.992, allocations: 0 / 0.8157 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001381/0.9933, allocations: 464.1 kB / 0.8162 GB, free: 5.348 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.001651/0.995, allocations: 0.7007 MB / 0.8169 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.9972, allocations: 1.067 MB / 0.8179 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9972, allocations: 0.875 kB / 0.8179 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.9984, allocations: 0.6344 MB / 0.8185 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1, allocations: 0.5086 MB / 0.819 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/1.005, allocations: 2.322 MB / 0.8213 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/1.006, allocations: 1.179 MB / 0.8224 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001366/1.008, allocations: 371.2 kB / 0.8228 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.008, allocations: 136.2 kB / 0.8229 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.008, allocations: 4 kB / 0.8229 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.03799/1.046, allocations: 22.86 MB / 0.8452 GB, free: 12.61 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)