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.001421/0.001421, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8399/0.8399, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.001012/0.001012, allocations: 98.44 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.102e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4895, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.323/4.812, allocations: 1.869 GB / 2.503 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/4.813, allocations: 90.58 kB / 2.503 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/6.116, allocations: 404.7 MB / 2.898 GB, free: 312 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/6.116, allocations: 3.938 kB / 2.898 GB, free: 308 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001473/6.116, allocations: 36 kB / 2.898 GB, free: 272 kB / 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.5125/6.628, allocations: 1.611 MB / 2.9 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/6.628, allocations: 9.031 kB / 2.9 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/6.632, allocations: 400.1 kB / 2.9 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/6.636, allocations: 1.161 MB / 2.901 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/6.636, allocations: 42.73 kB / 2.901 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/6.637, allocations: 78.59 kB / 2.901 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003141/6.64, allocations: 1.372 MB / 2.903 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/6.642, allocations: 1.204 MB / 2.904 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/6.642, allocations: 3.656 kB / 2.904 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/6.643, allocations: 0 / 2.904 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/6.643, allocations: 32.22 kB / 2.904 GB, free: 143.3 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.007708/6.65, allocations: 4.619 MB / 2.909 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/6.652, allocations: 1.343 MB / 2.91 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/6.652, allocations: 408.3 kB / 2.91 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/6.653, allocations: 424 kB / 2.911 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/6.654, allocations: 0.57 MB / 2.911 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 4.108e-06/6.654, allocations: 2.375 kB / 2.911 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.002954/6.657, allocations: 1.045 MB / 2.912 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/6.657, allocations: 253 kB / 2.912 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/6.658, allocations: 0.615 MB / 2.913 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-05/6.658, allocations: 29.3 kB / 2.913 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/6.658, allocations: 0.5753 MB / 2.914 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/6.659, allocations: 320 kB / 2.914 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/6.659, allocations: 0 / 2.914 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001193/6.659, allocations: 338.3 kB / 2.914 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/6.659, allocations: 311.8 kB / 2.915 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/6.66, allocations: 0.4911 MB / 2.915 GB, free: 139 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/6.662, allocations: 488.3 kB / 2.915 GB, free: 139 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/6.662, allocations: 0.5938 kB / 2.915 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002866/6.665, allocations: 1.086 MB / 2.917 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/6.665, allocations: 7.469 kB / 2.917 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/6.665, allocations: 1.625 kB / 2.917 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/6.665, allocations: 94.77 kB / 2.917 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/6.666, allocations: 234.8 kB / 2.917 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/6.668, allocations: 1.469 MB / 2.918 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/6.669, allocations: 99.55 kB / 2.918 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/6.669, allocations: 42.12 kB / 2.918 GB, free: 137.6 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.0002434/6.669, allocations: 128.3 kB / 2.919 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002493/6.672, allocations: 1.031 MB / 2.92 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/6.672, allocations: 101 kB / 2.92 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/6.675, allocations: 1.325 MB / 2.921 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/6.675, allocations: 11.97 kB / 2.921 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/6.675, allocations: 1.219 kB / 2.921 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/6.675, allocations: 7.422 kB / 2.921 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/6.68, allocations: 2.518 MB / 2.923 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/6.68, allocations: 0 / 2.923 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/6.681, allocations: 218.7 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/6.681, allocations: 80.05 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/6.681, allocations: 28.42 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/6.683, allocations: 1.488 MB / 2.925 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/6.683, allocations: 3.703 kB / 2.925 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/6.685, allocations: 1.223 MB / 2.926 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/6.686, allocations: 349.8 kB / 2.927 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/6.686, allocations: 11.19 kB / 2.927 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/6.687, allocations: 84.39 kB / 2.927 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/6.687, allocations: 72.03 kB / 2.927 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/6.687, allocations: 52.73 kB / 2.927 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005995/6.688, allocations: 492.5 kB / 2.927 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/6.688, allocations: 0 / 2.927 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001907/6.689, allocations: 0.5558 MB / 2.928 GB, free: 135.2 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.005276/6.695, allocations: 3.677 MB / 2.932 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00163/6.696, allocations: 0.954 MB / 2.932 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/6.696, allocations: 0 / 2.932 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/6.697, allocations: 0.5915 MB / 2.933 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/6.699, allocations: 363.1 kB / 2.933 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/6.704, allocations: 2.056 MB / 2.935 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/6.704, allocations: 1.205 MB / 2.937 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001289/6.706, allocations: 368.2 kB / 2.937 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/6.706, allocations: 0.5372 MB / 2.937 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/6.706, allocations: 0 / 2.937 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06746/6.774, allocations: 39.19 MB / 2.976 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/6.774, allocations: 169.2 kB / 2.976 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/10.52, allocations: 3.562 kB / 2.976 GB, free: 131.3 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)