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.001723/0.001723, allocations: 177 kB / 7.649 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.8582/0.8582, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.672/1.672, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001022/0.001021, allocations: 105.5 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.996e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5207, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/5.204, allocations: 1.869 GB / 2.503 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/5.204, allocations: 88.64 kB / 2.503 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.706/6.91, allocations: 404.7 MB / 2.898 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/6.91, allocations: 0.5156 kB / 2.898 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002486/6.91, allocations: 38.94 kB / 2.898 GB, free: 144.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.004819/6.915, allocations: 1.612 MB / 2.9 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/6.915, allocations: 9.906 kB / 2.9 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/6.918, allocations: 397.2 kB / 2.9 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/6.922, allocations: 1.167 MB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/6.922, allocations: 43.14 kB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/6.922, allocations: 77.72 kB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002999/6.925, allocations: 1.369 MB / 2.903 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/6.927, allocations: 1.208 MB / 2.904 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/6.927, allocations: 0 / 2.904 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/6.928, allocations: 10 kB / 2.904 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/6.928, allocations: 31.22 kB / 2.904 GB, free: 143.7 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.006816/6.934, allocations: 4.623 MB / 2.909 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/6.936, allocations: 1.341 MB / 2.91 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/6.937, allocations: 404.2 kB / 2.91 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/6.937, allocations: 432.2 kB / 2.911 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/6.938, allocations: 0.5714 MB / 2.911 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/6.938, allocations: 0 / 2.911 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.00267/6.941, allocations: 1.04 MB / 2.912 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/6.941, allocations: 246.5 kB / 2.912 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/6.942, allocations: 0.6165 MB / 2.913 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/6.942, allocations: 32.48 kB / 2.913 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/6.942, allocations: 0.5734 MB / 2.914 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/6.943, allocations: 312.4 kB / 2.914 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/6.943, allocations: 0 / 2.914 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/6.943, allocations: 340.7 kB / 2.914 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/6.943, allocations: 308.7 kB / 2.915 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/6.944, allocations: 0.4978 MB / 2.915 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/6.945, allocations: 484.2 kB / 2.915 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/6.945, allocations: 1.219 kB / 2.915 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002846/6.948, allocations: 1.089 MB / 2.917 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/6.948, allocations: 3.719 kB / 2.917 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/6.948, allocations: 3.156 kB / 2.917 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/6.949, allocations: 96.02 kB / 2.917 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/6.95, allocations: 230.1 kB / 2.917 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/6.951, allocations: 1.482 MB / 2.918 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/6.952, allocations: 100.3 kB / 2.918 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/6.953, allocations: 45.86 kB / 2.918 GB, free: 138 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.0002247/6.953, allocations: 119.4 kB / 2.919 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002433/6.955, allocations: 1.026 MB / 2.92 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/6.955, allocations: 105.2 kB / 2.92 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/6.959, allocations: 1.317 MB / 2.921 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/6.959, allocations: 14.34 kB / 2.921 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/6.959, allocations: 0 / 2.921 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/6.959, allocations: 16.09 kB / 2.921 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/6.963, allocations: 2.52 MB / 2.923 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/6.963, allocations: 2.938 kB / 2.923 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/6.964, allocations: 217.7 kB / 2.924 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/6.965, allocations: 82.33 kB / 2.924 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/6.965, allocations: 18.89 kB / 2.924 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/6.966, allocations: 1.486 MB / 2.925 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.966, allocations: 0 / 2.925 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/6.969, allocations: 1.233 MB / 2.926 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008444/6.97, allocations: 349.6 kB / 2.927 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/6.97, allocations: 3.406 kB / 2.927 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/6.971, allocations: 85.92 kB / 2.927 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/6.971, allocations: 76.09 kB / 2.927 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/6.971, allocations: 49.33 kB / 2.927 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007233/6.972, allocations: 489 kB / 2.927 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/6.972, allocations: 0 / 2.927 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002324/6.974, allocations: 0.5582 MB / 2.928 GB, free: 135.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.006703/6.981, allocations: 3.672 MB / 2.932 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001884/6.983, allocations: 0.9523 MB / 2.932 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/6.983, allocations: 3.875 kB / 2.932 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/6.984, allocations: 0.5916 MB / 2.933 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/6.986, allocations: 377.5 kB / 2.933 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/6.993, allocations: 2.051 MB / 2.935 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/6.994, allocations: 1.206 MB / 2.937 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001808/6.996, allocations: 360.2 kB / 2.937 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/6.997, allocations: 0.5264 MB / 2.937 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.673e-06/6.997, allocations: 7.812 kB / 2.937 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07968/7.077, allocations: 39.19 MB / 2.976 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/7.077, allocations: 180.3 kB / 2.976 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/10.55, allocations: 6.516 kB / 2.976 GB, free: 131.7 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)