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/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_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_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.001163/0.001163, allocations: 174.6 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.7639/0.7639, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.514/1.514, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0009402/0.0009401, allocations: 97.8 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.262e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.26/4.427, allocations: 1.87 GB / 2.51 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/4.427, allocations: 94.38 kB / 2.51 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.619/6.046, allocations: 409.4 MB / 2.91 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/6.046, allocations: 0 / 2.91 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000115/6.046, allocations: 47.42 kB / 2.91 GB, free: 149.7 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.002956/6.049, allocations: 1.618 MB / 2.912 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/6.049, allocations: 7.844 kB / 2.912 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/6.049, allocations: 191.4 kB / 2.912 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/6.052, allocations: 403.8 kB / 2.912 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/6.054, allocations: 1.17 MB / 2.913 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/6.054, allocations: 99.81 kB / 2.913 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/6.055, allocations: 130 kB / 2.913 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/6.057, allocations: 1.383 MB / 2.915 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/6.057, allocations: 3.312 kB / 2.915 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/6.057, allocations: 57.97 kB / 2.915 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/6.057, allocations: 34.97 kB / 2.915 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/6.059, allocations: 1.457 MB / 2.916 GB, free: 145.9 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.006538/6.066, allocations: 4.884 MB / 2.921 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/6.067, allocations: 1.393 MB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/6.068, allocations: 437.2 kB / 2.923 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000624/6.069, allocations: 424.2 kB / 2.923 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008285/6.069, allocations: 0.6072 MB / 2.924 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.808e-06/6.069, allocations: 2.875 kB / 2.924 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.002227/6.072, allocations: 1.008 MB / 2.925 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/6.072, allocations: 246 kB / 2.925 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/6.073, allocations: 0.8046 MB / 2.926 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/6.073, allocations: 41.7 kB / 2.926 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/6.073, allocations: 0.5662 MB / 2.927 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/6.074, allocations: 332.2 kB / 2.927 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/6.074, allocations: 23.41 kB / 2.927 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001139/6.074, allocations: 337.9 kB / 2.927 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/6.074, allocations: 329.9 kB / 2.927 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/6.075, allocations: 0.513 MB / 2.928 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/6.075, allocations: 409.1 kB / 2.928 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/6.075, allocations: 0 / 2.928 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001923/6.077, allocations: 1.062 MB / 2.929 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/6.077, allocations: 8 kB / 2.929 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/6.077, allocations: 4 kB / 2.929 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/6.078, allocations: 94.42 kB / 2.93 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/6.079, allocations: 227.7 kB / 2.93 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/6.081, allocations: 1.537 MB / 2.931 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/6.082, allocations: 140.9 kB / 2.931 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/6.082, allocations: 35.98 kB / 2.931 GB, free: 133 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.0002442/6.082, allocations: 173.2 kB / 2.932 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/6.082, allocations: 114.7 kB / 2.932 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/6.085, allocations: 1.331 MB / 2.933 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/6.085, allocations: 8 kB / 2.933 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/6.085, allocations: 11.33 kB / 2.933 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/6.085, allocations: 3.984 kB / 2.933 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/6.089, allocations: 2.657 MB / 2.936 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/6.089, allocations: 0 / 2.936 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/6.09, allocations: 218.3 kB / 2.936 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/6.09, allocations: 79.5 kB / 2.936 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/6.09, allocations: 35.97 kB / 2.936 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/6.092, allocations: 1.561 MB / 2.937 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/6.092, allocations: 3.469 kB / 2.937 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/6.094, allocations: 1.191 MB / 2.939 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/6.094, allocations: 371.2 kB / 2.939 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/6.095, allocations: 25.86 kB / 2.939 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/6.096, allocations: 106.1 kB / 2.939 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/6.096, allocations: 72.89 kB / 2.939 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/6.096, allocations: 47.97 kB / 2.939 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007576/6.097, allocations: 0.6299 MB / 2.94 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/6.097, allocations: 0 / 2.94 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0018/6.098, allocations: 0.6074 MB / 2.94 GB, free: 123.6 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.004816/6.103, allocations: 3.507 MB / 2.944 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001623/6.105, allocations: 1.01 MB / 2.945 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/6.105, allocations: 0 / 2.945 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/6.106, allocations: 0.613 MB / 2.945 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/6.108, allocations: 459.9 kB / 2.946 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/6.113, allocations: 2.161 MB / 2.948 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/6.113, allocations: 1.204 MB / 2.949 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001423/6.115, allocations: 386.1 kB / 2.95 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/6.115, allocations: 0.5227 MB / 2.95 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/6.115, allocations: 0 / 2.95 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08543/6.201, allocations: 57.36 MB / 3.006 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/6.201, allocations: 228.8 kB / 3.006 GB, free: 57.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.314/10.52, allocations: 0 / 3.006 GB, free: 57.31 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)