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.002225/0.002225, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7799/0.7799, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.508/1.508, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009532/0.0009529, allocations: 98.23 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.959e-05, allocations: 3.812 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.492/4.637, allocations: 1.87 GB / 2.51 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/4.637, allocations: 87.95 kB / 2.51 GB, free: 60.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.922/6.559, allocations: 409.4 MB / 2.91 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/6.559, allocations: 0 / 2.91 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001464/6.559, allocations: 44.23 kB / 2.91 GB, free: 144.4 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.003867/6.563, allocations: 1.618 MB / 2.912 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/6.563, allocations: 11.16 kB / 2.912 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003951/6.564, allocations: 197.9 kB / 2.912 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/6.567, allocations: 396.7 kB / 2.912 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/6.57, allocations: 1.161 MB / 2.913 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/6.57, allocations: 94.94 kB / 2.913 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/6.571, allocations: 131.9 kB / 2.913 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/6.573, allocations: 1.385 MB / 2.915 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/6.573, allocations: 5.25 kB / 2.915 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/6.573, allocations: 63.73 kB / 2.915 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/6.574, allocations: 39.33 kB / 2.915 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/6.576, allocations: 1.448 MB / 2.916 GB, free: 143 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.006824/6.582, allocations: 4.878 MB / 2.921 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/6.584, allocations: 1.4 MB / 2.922 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/6.585, allocations: 434.7 kB / 2.923 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/6.586, allocations: 430.4 kB / 2.923 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000942/6.587, allocations: 0.6006 MB / 2.924 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.657e-06/6.587, allocations: 2.344 kB / 2.924 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.00245/6.589, allocations: 1.011 MB / 2.925 GB, free: 140 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/6.589, allocations: 249.5 kB / 2.925 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/6.591, allocations: 0.7941 MB / 2.926 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/6.591, allocations: 47.98 kB / 2.926 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/6.591, allocations: 0.5632 MB / 2.926 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/6.591, allocations: 327.5 kB / 2.927 GB, free: 139 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/6.592, allocations: 17.88 kB / 2.927 GB, free: 139 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/6.592, allocations: 344.9 kB / 2.927 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/6.592, allocations: 324.8 kB / 2.927 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/6.593, allocations: 0.5143 MB / 2.928 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/6.593, allocations: 407.6 kB / 2.928 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/6.593, allocations: 0 / 2.928 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002119/6.595, allocations: 1.074 MB / 2.929 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/6.596, allocations: 6.688 kB / 2.929 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/6.596, allocations: 6.875 kB / 2.929 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/6.596, allocations: 86.77 kB / 2.929 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/6.597, allocations: 232.6 kB / 2.93 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/6.599, allocations: 1.539 MB / 2.931 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/6.6, allocations: 145.4 kB / 2.931 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/6.6, allocations: 36.47 kB / 2.931 GB, free: 137 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 () * 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.0002579/6.601, allocations: 168.5 kB / 2.932 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/6.601, allocations: 122.7 kB / 2.932 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/6.604, allocations: 1.311 MB / 2.933 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/6.604, allocations: 14.59 kB / 2.933 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/6.604, allocations: 0 / 2.933 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/6.604, allocations: 13.81 kB / 2.933 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/6.608, allocations: 2.654 MB / 2.936 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/6.608, allocations: 0 / 2.936 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/6.609, allocations: 217.3 kB / 2.936 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/6.61, allocations: 89.34 kB / 2.936 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/6.61, allocations: 33.22 kB / 2.936 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/6.611, allocations: 1.557 MB / 2.937 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/6.611, allocations: 3.938 kB / 2.937 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/6.613, allocations: 1.197 MB / 2.939 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/6.614, allocations: 368.2 kB / 2.939 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/6.614, allocations: 23.81 kB / 2.939 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/6.615, allocations: 110.6 kB / 2.939 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/6.615, allocations: 71.14 kB / 2.939 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/6.615, allocations: 46.16 kB / 2.939 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000798/6.616, allocations: 0.6284 MB / 2.94 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/6.616, allocations: 0 / 2.94 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001887/6.618, allocations: 0.6054 MB / 2.94 GB, free: 134.4 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) * 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.005366/6.623, allocations: 3.516 MB / 2.944 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001733/6.625, allocations: 1.004 MB / 2.945 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/6.625, allocations: 5.094 kB / 2.945 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008877/6.626, allocations: 0.6133 MB / 2.945 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/6.628, allocations: 462 kB / 2.946 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/6.634, allocations: 2.168 MB / 2.948 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/6.635, allocations: 1.209 MB / 2.949 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001561/6.636, allocations: 381.6 kB / 2.95 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/6.637, allocations: 0.527 MB / 2.95 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/6.637, allocations: 0 / 2.95 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0846/6.721, allocations: 57.34 MB / 3.006 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/6.722, allocations: 233.6 kB / 3.006 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.424/11.15, allocations: 0 / 3.006 GB, free: 82.11 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)