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.001076/0.001076, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001434/0.001434, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 12 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4371, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1807/0.6179, allocations: 168.3 MB / 0.7475 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009058/0.627, allocations: 6.506 MB / 0.7539 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.6278, allocations: 27.81 kB / 0.7539 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009502/0.6288, allocations: 270.2 kB / 0.7542 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.6317, allocations: 1.053 MB / 0.7552 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.6341, allocations: 0.8353 MB / 0.756 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002581/0.6367, allocations: 2.284 MB / 0.7582 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008487/0.6376, allocations: 0.4884 MB / 0.7587 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.6391, allocations: 0.6963 MB / 0.7594 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.6401, allocations: 0.5721 MB / 0.7599 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.6403, allocations: 35.94 kB / 0.76 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.6429, allocations: 1.13 MB / 0.7611 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.6432, allocations: 247.2 kB / 0.7613 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.6436, allocations: 181.3 kB / 0.7615 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.6452, allocations: 1.142 MB / 0.7626 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6452, allocations: 4 kB / 0.7626 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6452, allocations: 0 / 0.7626 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.6453, allocations: 0 / 0.7626 GB, free: 8.328 MB / 0.5919 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.001841/0.6471, allocations: 1.021 MB / 0.7636 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6472, allocations: 11.97 kB / 0.7636 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.6473, allocations: 94.52 kB / 0.7637 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.6492, allocations: 270.8 kB / 0.764 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.6502, allocations: 0.564 MB / 0.7645 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.6502, allocations: 41.31 kB / 0.7646 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.6503, allocations: 59.91 kB / 0.7646 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6514, allocations: 0.6362 MB / 0.7652 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.6515, allocations: 0 / 0.7652 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.6515, allocations: 20 kB / 0.7653 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.6516, allocations: 21.31 kB / 0.7653 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.6525, allocations: 0.5243 MB / 0.7658 GB, free: 4.953 MB / 0.5919 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.002972/0.6555, allocations: 2.457 MB / 0.7682 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/0.6561, allocations: 381.5 kB / 0.7685 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.6565, allocations: 241.4 kB / 0.7688 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.6571, allocations: 315.6 kB / 0.7691 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.6571, allocations: 46.81 kB / 0.7691 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.6571, allocations: 0 / 0.7691 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001344/0.6585, allocations: 0.6268 MB / 0.7697 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.6585, allocations: 63.34 kB / 0.7698 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.6591, allocations: 0.4911 MB / 0.7703 GB, free: 40 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.6591, allocations: 29.7 kB / 0.7703 GB, free: 4 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.6594, allocations: 332.5 kB / 0.7706 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6595, allocations: 137.9 kB / 0.7708 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.6595, allocations: 8 kB / 0.7708 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6596, allocations: 370.8 kB / 0.7711 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.66, allocations: 164.8 kB / 0.7713 GB, free: 15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.6604, allocations: 296.2 kB / 0.7716 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.6607, allocations: 211.8 kB / 0.7718 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.6608, allocations: 0 / 0.7718 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008984/0.6617, allocations: 0.5257 MB / 0.7723 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.6618, allocations: 159 kB / 0.7724 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6618, allocations: 7.984 kB / 0.7724 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6618, allocations: 7.953 kB / 0.7724 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.6625, allocations: 147.8 kB / 0.7726 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003969/0.6629, allocations: 0.59 MB / 0.7732 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.6636, allocations: 79.58 kB / 0.7732 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.6636, allocations: 20 kB / 0.7732 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.6636, allocations: 4 kB / 0.7733 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008076/0.6645, allocations: 459.8 kB / 0.7737 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6645, allocations: 0 / 0.7737 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.6645, allocations: 4 kB / 0.7737 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.665, allocations: 136.1 kB / 0.7738 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.665, allocations: 7.953 kB / 0.7738 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.6656, allocations: 71.64 kB / 0.7739 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.6656, allocations: 19.98 kB / 0.7739 GB, free: 12.18 MB / 0.6075 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.000367/0.666, allocations: 302.5 kB / 0.7742 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.6661, allocations: 59.25 kB / 0.7743 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/0.667, allocations: 496 kB / 0.7747 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.667, allocations: 4 kB / 0.7747 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.667, allocations: 3.953 kB / 0.7747 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007476/0.6677, allocations: 0.7263 MB / 0.7755 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.6696, allocations: 1.288 MB / 0.7767 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6697, allocations: 4 kB / 0.7767 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.6703, allocations: 136.1 kB / 0.7768 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.6703, allocations: 4 kB / 0.7768 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.6703, allocations: 15.98 kB / 0.7769 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00026/0.6706, allocations: 0.5977 MB / 0.7774 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6706, allocations: 0 / 0.7774 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6717, allocations: 0.8373 MB / 0.7783 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.672, allocations: 180.4 kB / 0.7784 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.6721, allocations: 12 kB / 0.7784 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.6725, allocations: 51.8 kB / 0.7785 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.6726, allocations: 31.92 kB / 0.7785 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.6726, allocations: 15.98 kB / 0.7785 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003751/0.673, allocations: 346.8 kB / 0.7789 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.673, allocations: 0 / 0.7789 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009775/0.674, allocations: 359.2 kB / 0.7792 GB, free: 6.496 MB / 0.6075 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.001792/0.6758, allocations: 1.475 MB / 0.7807 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.6772, allocations: 0.685 MB / 0.7813 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6772, allocations: 0 / 0.7813 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.6776, allocations: 237.4 kB / 0.7816 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.6793, allocations: 351 kB / 0.7819 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/0.6848, allocations: 3.846 MB / 0.7856 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.6854, allocations: 0.9493 MB / 0.7866 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007308/0.6861, allocations: 205 kB / 0.7868 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.6864, allocations: 227.4 kB / 0.787 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 1.563e-06/0.6865, allocations: 0 / 0.787 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.7201, allocations: 17.55 MB / 0.8041 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7203, allocations: 222.7 kB / 0.8043 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.865, allocations: 7.938 kB / 0.8043 GB, free: 12.95 MB / 0.6387 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: