Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",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.001468/0.001467, allocations: 180.9 kB / 7.65 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.774/0.774, allocations: 133.6 MB / 141.6 MB, free: 2.855 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.718/1.718, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.000968/0.000968, allocations: 97.55 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.436e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5797, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.127/5.707, allocations: 1.888 GB / 2.522 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/5.707, allocations: 90.44 kB / 2.522 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.987/7.694, allocations: 484.3 MB / 2.995 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/7.694, allocations: 0 / 2.995 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001136/7.695, allocations: 23.14 kB / 2.995 GB, free: 154.3 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002917/7.697, allocations: 1.035 MB / 2.996 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/7.698, allocations: 13.72 kB / 2.996 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/7.7, allocations: 265.5 kB / 2.996 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/7.702, allocations: 0.6169 MB / 2.997 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/7.702, allocations: 20.47 kB / 2.997 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/7.702, allocations: 32.5 kB / 2.997 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009985/7.703, allocations: 442.1 kB / 2.997 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/7.704, allocations: 0.511 MB / 2.998 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/7.704, allocations: 6.812 kB / 2.998 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/7.704, allocations: 3.953 kB / 2.998 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/7.704, allocations: 23.69 kB / 2.998 GB, free: 153.4 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.003306/7.707, allocations: 2.298 MB / 3 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/7.708, allocations: 335.5 kB / 3 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/7.708, allocations: 198.4 kB / 3 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/7.709, allocations: 310.1 kB / 3.001 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/7.709, allocations: 37.98 kB / 3.001 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/7.709, allocations: 3.938 kB / 3.001 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001195/7.71, allocations: 436.1 kB / 3.001 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/7.71, allocations: 54.62 kB / 3.001 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/7.711, allocations: 368.3 kB / 3.002 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/7.711, allocations: 29.55 kB / 3.002 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/7.711, allocations: 325.1 kB / 3.002 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/7.711, allocations: 138.2 kB / 3.002 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/7.711, allocations: 0 / 3.002 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001383/7.711, allocations: 364.5 kB / 3.002 GB, free: 151 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/7.711, allocations: 132.3 kB / 3.002 GB, free: 151 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/7.712, allocations: 265 kB / 3.003 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/7.712, allocations: 201.6 kB / 3.003 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/7.712, allocations: 2.531 kB / 3.003 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008792/7.713, allocations: 477.2 kB / 3.003 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003033/7.713, allocations: 0.8792 MB / 3.004 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/7.713, allocations: 0 / 3.004 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/7.713, allocations: 3.844 kB / 3.004 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/7.714, allocations: 116.6 kB / 3.004 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000372/7.715, allocations: 0.5934 MB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/7.715, allocations: 65.42 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/7.715, allocations: 19.28 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/7.716, allocations: 3.969 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006996/7.716, allocations: 396.3 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/7.716, allocations: 3.719 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/7.716, allocations: 6.891 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/7.717, allocations: 99.31 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/7.717, allocations: 9.938 kB / 3.005 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/7.717, allocations: 64.77 kB / 3.006 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/7.717, allocations: 19.98 kB / 3.006 GB, free: 149.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/7.718, allocations: 119.2 kB / 3.006 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007031/7.718, allocations: 401.6 kB / 3.006 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/7.718, allocations: 54.28 kB / 3.006 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/7.719, allocations: 426.7 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/7.719, allocations: 5.531 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/7.719, allocations: 0 / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005799/7.72, allocations: 0.6658 MB / 3.007 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/7.722, allocations: 1.154 MB / 3.008 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/7.722, allocations: 3.688 kB / 3.008 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/7.722, allocations: 110 kB / 3.008 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/7.722, allocations: 3.344 kB / 3.008 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/7.722, allocations: 13.83 kB / 3.008 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002247/7.723, allocations: 0.5937 MB / 3.009 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/7.723, allocations: 0 / 3.009 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009593/7.724, allocations: 0.8319 MB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/7.724, allocations: 177.8 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/7.724, allocations: 6.984 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/7.725, allocations: 46.14 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/7.725, allocations: 32.69 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/7.725, allocations: 17.02 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000304/7.725, allocations: 284.5 kB / 3.01 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/7.725, allocations: 3.125 kB / 3.01 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001352/7.726, allocations: 440.2 kB / 3.011 GB, free: 147 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003218/7.73, allocations: 3.293 MB / 3.014 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001072/7.731, allocations: 0.5785 MB / 3.015 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/7.731, allocations: 0 / 3.015 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/7.731, allocations: 191.9 kB / 3.015 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/7.733, allocations: 318 kB / 3.015 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/7.735, allocations: 1.232 MB / 3.016 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/7.735, allocations: 0.9628 MB / 3.017 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000835/7.736, allocations: 231.7 kB / 3.017 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/7.736, allocations: 221.7 kB / 3.018 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/7.736, allocations: 3.25 kB / 3.018 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/7.789, allocations: 26.61 MB / 3.044 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/7.789, allocations: 145.8 kB / 3.044 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/10.71, allocations: 0 / 3.044 GB, free: 141.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)