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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01013/0.01013, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7909/0.7909, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 95.41 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004543, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.544, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.205/5.75, allocations: 1.87 GB / 2.519 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/5.75, allocations: 95.95 kB / 2.519 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.774/7.524, allocations: 409.9 MB / 2.92 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.576e-06/7.524, allocations: 0 / 2.92 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001429/7.524, allocations: 36.59 kB / 2.92 GB, free: 143.6 MB / 0.6823 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.004549/7.529, allocations: 1.781 MB / 2.921 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/7.529, allocations: 14.38 kB / 2.921 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003389/7.529, allocations: 197.7 kB / 2.922 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/7.532, allocations: 401.1 kB / 2.922 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/7.536, allocations: 1.169 MB / 2.923 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/7.536, allocations: 100.6 kB / 2.923 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/7.536, allocations: 130.7 kB / 2.923 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/7.539, allocations: 1.434 MB / 2.925 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/7.539, allocations: 3.219 kB / 2.925 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/7.539, allocations: 63.25 kB / 2.925 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/7.539, allocations: 29.53 kB / 2.925 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/7.542, allocations: 1.535 MB / 2.926 GB, free: 142.1 MB / 0.6823 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.009232/7.551, allocations: 4.884 MB / 2.931 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/7.554, allocations: 1.47 MB / 2.933 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/7.554, allocations: 426.8 kB / 2.933 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/7.556, allocations: 0.6421 MB / 2.934 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.677e-06/7.556, allocations: 0 / 2.934 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.00442/7.56, allocations: 1.597 MB / 2.935 GB, free: 139 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/7.56, allocations: 245.6 kB / 2.935 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/7.562, allocations: 0.8042 MB / 2.936 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/7.562, allocations: 47.52 kB / 2.936 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006564/7.563, allocations: 0.5641 MB / 2.937 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/7.563, allocations: 327.3 kB / 2.937 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/7.563, allocations: 16.88 kB / 2.937 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001286/7.563, allocations: 344 kB / 2.937 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/7.564, allocations: 360.8 kB / 2.938 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/7.565, allocations: 0.5467 MB / 2.938 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/7.566, allocations: 446.3 kB / 2.939 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/7.566, allocations: 0 / 2.939 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00259/7.568, allocations: 1.134 MB / 2.94 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/7.568, allocations: 7.297 kB / 2.94 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/7.568, allocations: 3.5 kB / 2.94 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/7.569, allocations: 87.45 kB / 2.94 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/7.57, allocations: 232.2 kB / 2.94 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/7.572, allocations: 1.554 MB / 2.942 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/7.574, allocations: 143.3 kB / 2.942 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/7.574, allocations: 41.48 kB / 2.942 GB, free: 136.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.001013/7.575, allocations: 322.4 kB / 2.942 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/7.575, allocations: 121 kB / 2.942 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/7.578, allocations: 1.394 MB / 2.944 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/7.578, allocations: 14.94 kB / 2.944 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/7.578, allocations: 0 / 2.944 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/7.578, allocations: 6.797 kB / 2.944 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/7.584, allocations: 2.72 MB / 2.946 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/7.584, allocations: 0 / 2.946 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/7.585, allocations: 219.5 kB / 2.946 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/7.585, allocations: 87.69 kB / 2.947 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/7.586, allocations: 27.03 kB / 2.947 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/7.587, allocations: 1.577 MB / 2.948 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.587, allocations: 0 / 2.948 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/7.59, allocations: 1.26 MB / 2.949 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/7.591, allocations: 374.6 kB / 2.95 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/7.591, allocations: 22.5 kB / 2.95 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/7.592, allocations: 99.89 kB / 2.95 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/7.592, allocations: 73.02 kB / 2.95 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/7.592, allocations: 52.91 kB / 2.95 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001041/7.594, allocations: 0.642 MB / 2.951 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.594, allocations: 0 / 2.951 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002484/7.596, allocations: 0.6116 MB / 2.951 GB, free: 133.7 MB / 0.6823 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.006773/7.603, allocations: 3.603 MB / 2.955 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002447/7.605, allocations: 1.075 MB / 2.956 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/7.605, allocations: 0 / 2.956 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/7.607, allocations: 0.6507 MB / 2.956 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/7.609, allocations: 454.5 kB / 2.957 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/7.624, allocations: 8.995 MB / 2.966 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008517/7.625, allocations: 1.205 MB / 2.967 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00187/7.627, allocations: 381.2 kB / 2.967 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/7.628, allocations: 0.5222 MB / 2.968 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/7.628, allocations: 3.938 kB / 2.968 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/7.739, allocations: 53.64 MB / 3.02 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/7.739, allocations: 250.3 kB / 3.02 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.387/12.13, allocations: 0 / 3.02 GB, free: 104.5 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)