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.01441/0.01441, allocations: 169.5 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 1.315/1.315, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.926/2.926, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001464/0.001464, allocations: 100.6 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004791, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7748, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.973/10.75, allocations: 1.87 GB / 2.519 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006534/10.75, allocations: 87.95 kB / 2.519 GB, free: 106 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.039/14.79, allocations: 409.9 MB / 2.92 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.492e-06/14.79, allocations: 1.969 kB / 2.92 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003658/14.79, allocations: 37.25 kB / 2.92 GB, free: 143.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.01168/14.8, allocations: 1.78 MB / 2.921 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001104/14.8, allocations: 14.66 kB / 2.921 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001236/14.8, allocations: 195.7 kB / 2.922 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/14.81, allocations: 398.5 kB / 2.922 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007472/14.81, allocations: 1.187 MB / 2.923 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/14.81, allocations: 98.56 kB / 2.923 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000647/14.82, allocations: 128.8 kB / 2.923 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/14.82, allocations: 1.432 MB / 2.925 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/14.82, allocations: 0.75 kB / 2.925 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/14.82, allocations: 57.47 kB / 2.925 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-05/14.82, allocations: 34.66 kB / 2.925 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006028/14.83, allocations: 1.534 MB / 2.926 GB, free: 142 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.01896/14.85, allocations: 4.89 MB / 2.931 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004971/14.85, allocations: 1.475 MB / 2.933 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/14.85, allocations: 426.2 kB / 2.933 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002322/14.86, allocations: 0.6346 MB / 2.934 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 7.834e-06/14.86, allocations: 0 / 2.934 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.00792/14.86, allocations: 1.598 MB / 2.935 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/14.86, allocations: 241.2 kB / 2.935 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/14.87, allocations: 0.8029 MB / 2.936 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004193/14.87, allocations: 49.52 kB / 2.936 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/14.87, allocations: 0.5669 MB / 2.937 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/14.87, allocations: 327.7 kB / 2.937 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/14.87, allocations: 21.38 kB / 2.937 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002746/14.87, allocations: 341.3 kB / 2.937 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/14.87, allocations: 359.7 kB / 2.938 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/14.87, allocations: 0.5477 MB / 2.938 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/14.88, allocations: 446.8 kB / 2.939 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/14.88, allocations: 3.719 kB / 2.939 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.005234/14.88, allocations: 1.132 MB / 2.94 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/14.88, allocations: 4.562 kB / 2.94 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/14.88, allocations: 3.219 kB / 2.94 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/14.88, allocations: 91.75 kB / 2.94 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/14.88, allocations: 233.7 kB / 2.94 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/14.89, allocations: 1.551 MB / 2.942 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/14.89, allocations: 139.1 kB / 2.942 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/14.89, allocations: 43.89 kB / 2.942 GB, free: 136.1 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.001902/14.89, allocations: 320.5 kB / 2.942 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008892/14.89, allocations: 127.8 kB / 2.942 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/14.9, allocations: 1.378 MB / 2.944 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/14.9, allocations: 11.06 kB / 2.944 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/14.9, allocations: 0 / 2.944 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/14.9, allocations: 7.031 kB / 2.944 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/14.91, allocations: 2.722 MB / 2.946 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/14.91, allocations: 3.625 kB / 2.946 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/14.91, allocations: 221 kB / 2.946 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008727/14.91, allocations: 83.73 kB / 2.947 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/14.91, allocations: 36.91 kB / 2.947 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/14.92, allocations: 1.575 MB / 2.948 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/14.92, allocations: 2.297 kB / 2.948 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/14.92, allocations: 1.258 MB / 2.949 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/14.93, allocations: 374.5 kB / 2.95 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/14.93, allocations: 21.44 kB / 2.95 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/14.93, allocations: 102.1 kB / 2.95 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/14.93, allocations: 75.06 kB / 2.95 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/14.93, allocations: 43.47 kB / 2.95 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001997/14.93, allocations: 0.6439 MB / 2.951 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/14.93, allocations: 0 / 2.951 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004762/14.93, allocations: 0.6108 MB / 2.951 GB, free: 133.5 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.0134/14.95, allocations: 3.612 MB / 2.955 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006304/14.95, allocations: 1.073 MB / 2.956 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/14.95, allocations: 2.688 kB / 2.956 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/14.96, allocations: 0.6491 MB / 2.956 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005587/14.96, allocations: 453.6 kB / 2.957 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/15, allocations: 9.002 MB / 2.966 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/15, allocations: 1.202 MB / 2.967 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0116/15.01, allocations: 376.1 kB / 2.967 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/15.02, allocations: 0.5252 MB / 2.968 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.385e-06/15.02, allocations: 3.688 kB / 2.968 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/15.24, allocations: 53.66 MB / 3.02 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/15.24, allocations: 250.8 kB / 3.02 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/22.91, allocations: 0 / 3.02 GB, free: 104.8 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)