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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.349/2.349, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.106/1.106, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005433, allocations: 9.344 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7048, allocations: 81.57 MB / 0.583 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.3193/1.024, allocations: 154 MB / 0.7333 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01874/1.043, allocations: 6.514 MB / 0.7397 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/1.045, allocations: 27.81 kB / 0.7397 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/1.048, allocations: 422 kB / 0.7401 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007984/1.056, allocations: 1.305 MB / 0.7414 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006119/1.062, allocations: 1.032 MB / 0.7424 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004098/1.066, allocations: 1.124 MB / 0.7435 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/1.068, allocations: 0.4963 MB / 0.744 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/1.071, allocations: 0.6152 MB / 0.7446 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/1.072, allocations: 382.4 kB / 0.7449 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.072, allocations: 28 kB / 0.745 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/1.077, allocations: 0.8813 MB / 0.7458 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000687/1.078, allocations: 235.4 kB / 0.7461 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/1.079, allocations: 169.3 kB / 0.7462 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003152/1.082, allocations: 1.021 MB / 0.7472 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.082, allocations: 3.938 kB / 0.7472 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.917e-06/1.082, allocations: 0 / 0.7472 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.987e-05/1.082, allocations: 0 / 0.7472 GB, free: 7.98 MB / 0.5762 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.003625/1.085, allocations: 0.9777 MB / 0.7482 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/1.086, allocations: 8.031 kB / 0.7482 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/1.086, allocations: 98.52 kB / 0.7483 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/1.09, allocations: 274.8 kB / 0.7485 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.092, allocations: 0.5563 MB / 0.7491 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/1.092, allocations: 45.31 kB / 0.7491 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.092, allocations: 59.91 kB / 0.7492 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.094, allocations: 0.6361 MB / 0.7498 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/1.094, allocations: 3.984 kB / 0.7498 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/1.094, allocations: 23.94 kB / 0.7498 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/1.094, allocations: 21.31 kB / 0.7498 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/1.096, allocations: 0.5282 MB / 0.7504 GB, free: 4.637 MB / 0.5762 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.005998/1.102, allocations: 2.445 MB / 0.7528 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/1.103, allocations: 395.7 kB / 0.7531 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/1.104, allocations: 141.4 kB / 0.7533 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/1.104, allocations: 38.89 kB / 0.7533 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.567e-06/1.104, allocations: 0 / 0.7533 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.002471/1.107, allocations: 0.6275 MB / 0.7539 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.107, allocations: 59.34 kB / 0.754 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/1.108, allocations: 0.5027 MB / 0.7545 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/1.108, allocations: 33.7 kB / 0.7545 GB, free: 128 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/1.108, allocations: 320.6 kB / 0.7548 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/1.108, allocations: 141.9 kB / 0.7549 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/1.108, allocations: 4 kB / 0.7549 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.109, allocations: 370.8 kB / 0.7553 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/1.109, allocations: 172.8 kB / 0.7555 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/1.11, allocations: 284.3 kB / 0.7557 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/1.111, allocations: 215.8 kB / 0.7559 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.111, allocations: 0 / 0.7559 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001658/1.112, allocations: 0.5257 MB / 0.7564 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005414/1.113, allocations: 0.8848 MB / 0.7573 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.113, allocations: 4 kB / 0.7573 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.113, allocations: 4 kB / 0.7573 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.114, allocations: 139.8 kB / 0.7575 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000568/1.115, allocations: 0.5938 MB / 0.758 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.116, allocations: 75.64 kB / 0.7581 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/1.116, allocations: 20 kB / 0.7581 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.116, allocations: 4 kB / 0.7581 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/1.118, allocations: 464 kB / 0.7586 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.118, allocations: 7.938 kB / 0.7586 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.118, allocations: 4 kB / 0.7586 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/1.119, allocations: 123.9 kB / 0.7587 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/1.119, allocations: 7.984 kB / 0.7587 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.12, allocations: 67.7 kB / 0.7588 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/1.12, allocations: 24 kB / 0.7588 GB, free: 11.57 MB / 0.5919 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 () * Number of clocked 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.0006517/1.121, allocations: 316.8 kB / 0.7591 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/1.121, allocations: 63.23 kB / 0.7592 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.122, allocations: 486.7 kB / 0.7596 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.122, allocations: 7.984 kB / 0.7596 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.122, allocations: 0 / 0.7596 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/1.124, allocations: 0.712 MB / 0.7603 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/1.127, allocations: 1.288 MB / 0.7616 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.127, allocations: 4 kB / 0.7616 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.129, allocations: 152 kB / 0.7617 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/1.129, allocations: 8 kB / 0.7617 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/1.129, allocations: 8 kB / 0.7617 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/1.129, allocations: 0.5899 MB / 0.7623 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.129, allocations: 4.031 kB / 0.7623 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/1.131, allocations: 0.9194 MB / 0.7632 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/1.132, allocations: 184.3 kB / 0.7634 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.132, allocations: 15.98 kB / 0.7634 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/1.133, allocations: 43.88 kB / 0.7635 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.133, allocations: 31.89 kB / 0.7635 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/1.133, allocations: 16 kB / 0.7635 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006892/1.134, allocations: 350.8 kB / 0.7638 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.91e-07/1.134, allocations: 0 / 0.7638 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001797/1.136, allocations: 355.2 kB / 0.7642 GB, free: 5.75 MB / 0.5919 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 () * Number of clocked 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.003561/1.139, allocations: 2.062 MB / 0.7662 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002605/1.142, allocations: 0.6701 MB / 0.7668 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.142, allocations: 0 / 0.7668 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/1.143, allocations: 228.8 kB / 0.7671 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.146, allocations: 343.8 kB / 0.7674 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.158, allocations: 5.173 MB / 0.7724 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.159, allocations: 0.9572 MB / 0.7734 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001631/1.161, allocations: 212.9 kB / 0.7736 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/1.162, allocations: 227.4 kB / 0.7738 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/1.162, allocations: 0 / 0.7738 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/1.227, allocations: 17.52 MB / 0.7909 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00038/1.227, allocations: 224.1 kB / 0.7911 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/4.442, allocations: 0 / 0.7911 GB, free: 10.29 MB / 0.6231 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) Environment - environmentSimulation: