Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_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.00191/0.00191, 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.7996/0.7996, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.443/1.443, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0008387/0.0008388, allocations: 108.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.929e-05, allocations: 4 kB / 0.5536 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4676, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.431/5.898, allocations: 1.888 GB / 2.522 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/5.899, allocations: 87.95 kB / 2.522 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.958/7.857, allocations: 484.3 MB / 2.995 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/7.857, allocations: 2.562 kB / 2.995 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001241/7.857, allocations: 24.05 kB / 2.995 GB, free: 154.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002965/7.86, allocations: 1.031 MB / 2.996 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/7.86, allocations: 8.844 kB / 2.996 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/7.863, allocations: 276.9 kB / 2.996 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/7.864, allocations: 0.6072 MB / 2.997 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/7.864, allocations: 18.84 kB / 2.997 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/7.865, allocations: 36.44 kB / 2.997 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008853/7.865, allocations: 440.7 kB / 2.997 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/7.866, allocations: 0.5139 MB / 2.998 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/7.866, allocations: 0 / 2.998 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/7.866, allocations: 3.953 kB / 2.998 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/7.867, allocations: 19.47 kB / 2.998 GB, free: 153.5 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.003151/7.87, allocations: 2.31 MB / 3 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/7.87, allocations: 329.9 kB / 3 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/7.87, allocations: 201.2 kB / 3 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/7.871, allocations: 308 kB / 3.001 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/7.871, allocations: 37.64 kB / 3.001 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.953e-06/7.871, allocations: 0 / 3.001 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001093/7.872, allocations: 441.4 kB / 3.001 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/7.872, allocations: 55.34 kB / 3.001 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/7.873, allocations: 365.2 kB / 3.002 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/7.873, allocations: 29.55 kB / 3.002 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/7.873, allocations: 327.3 kB / 3.002 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/7.873, allocations: 132.5 kB / 3.002 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/7.873, allocations: 0 / 3.002 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/7.873, allocations: 363.7 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/7.873, allocations: 136.9 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/7.874, allocations: 263.2 kB / 3.003 GB, free: 151 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/7.874, allocations: 203.5 kB / 3.003 GB, free: 151 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/7.874, allocations: 0 / 3.003 GB, free: 151 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008175/7.875, allocations: 480 kB / 3.003 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/7.875, allocations: 0.8755 MB / 3.004 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/7.875, allocations: 3.375 kB / 3.004 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/7.875, allocations: 3.188 kB / 3.004 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/7.876, allocations: 113.8 kB / 3.004 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003645/7.876, allocations: 0.5966 MB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/7.877, allocations: 74.73 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/7.877, allocations: 18.69 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/7.877, allocations: 3.469 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006779/7.878, allocations: 394.3 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/7.878, allocations: 3.875 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/7.878, allocations: 3.938 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/7.878, allocations: 100.3 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/7.878, allocations: 5.531 kB / 3.005 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/7.879, allocations: 62.2 kB / 3.006 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/7.879, allocations: 30 kB / 3.006 GB, free: 149.4 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.0001597/7.879, allocations: 120.2 kB / 3.006 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007954/7.88, allocations: 389.5 kB / 3.006 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/7.88, allocations: 56.44 kB / 3.006 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008071/7.881, allocations: 424.5 kB / 3.007 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/7.881, allocations: 6.625 kB / 3.007 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/7.881, allocations: 0 / 3.007 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006027/7.882, allocations: 0.6639 MB / 3.007 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/7.884, allocations: 1.157 MB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/7.884, allocations: 3.844 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/7.884, allocations: 114.1 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/7.884, allocations: 3.812 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/7.884, allocations: 7.172 kB / 3.008 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002497/7.884, allocations: 0.5955 MB / 3.009 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.885, allocations: 0 / 3.009 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/7.885, allocations: 0.8324 MB / 3.01 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/7.886, allocations: 174.4 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/7.886, allocations: 10.16 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/7.886, allocations: 49.33 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/7.886, allocations: 30.3 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/7.886, allocations: 17.16 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003052/7.887, allocations: 290.7 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/7.887, allocations: 3.969 kB / 3.01 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001377/7.888, allocations: 435.2 kB / 3.011 GB, free: 147.2 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.004081/7.892, allocations: 3.295 MB / 3.014 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001449/7.894, allocations: 0.5758 MB / 3.015 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/7.894, allocations: 0 / 3.015 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/7.894, allocations: 189.1 kB / 3.015 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/7.896, allocations: 327.2 kB / 3.015 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/7.899, allocations: 1.231 MB / 3.016 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/7.9, allocations: 0.9597 MB / 3.017 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001008/7.901, allocations: 235.5 kB / 3.017 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/7.901, allocations: 223.2 kB / 3.018 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/7.901, allocations: 0 / 3.018 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/7.96, allocations: 26.61 MB / 3.044 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/7.961, allocations: 156.8 kB / 3.044 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/11.02, allocations: 0 / 3.044 GB, free: 141.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)