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.009898/0.009898, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002439/0.002439, allocations: 197.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.378/2.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.426/1.426, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 69.23 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.9856/1.23, allocations: 185 MB / 0.8399 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01791/1.248, allocations: 6.969 MB / 0.8467 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/1.25, allocations: 29.25 kB / 0.8467 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002622/1.252, allocations: 400 kB / 0.8471 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008256/1.261, allocations: 1.442 MB / 0.8485 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006696/1.268, allocations: 1.177 MB / 0.8497 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004866/1.273, allocations: 1.937 MB / 0.8516 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.274, allocations: 0.6626 MB / 0.8522 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/1.277, allocations: 0.8316 MB / 0.853 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/1.28, allocations: 0.6029 MB / 0.8536 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/1.28, allocations: 67.84 kB / 0.8537 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/1.287, allocations: 1.937 MB / 0.8556 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007901/1.288, allocations: 294 kB / 0.8558 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/1.289, allocations: 427.2 kB / 0.8562 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006071/1.296, allocations: 1.774 MB / 0.858 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.296, allocations: 0 / 0.858 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.274e-06/1.296, allocations: 0 / 0.858 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.981e-05/1.296, allocations: 0 / 0.858 GB, free: 10.63 MB / 0.6231 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.003958/1.3, allocations: 1.164 MB / 0.8591 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/1.3, allocations: 8.031 kB / 0.8591 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/1.3, allocations: 94.52 kB / 0.8592 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/1.304, allocations: 270.8 kB / 0.8595 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.306, allocations: 0.6066 MB / 0.8601 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/1.306, allocations: 45.31 kB / 0.8601 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/1.306, allocations: 63.88 kB / 0.8602 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.308, allocations: 0.6323 MB / 0.8608 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/1.308, allocations: 0 / 0.8608 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/1.308, allocations: 20 kB / 0.8608 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/1.308, allocations: 25.25 kB / 0.8608 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.31, allocations: 0.5204 MB / 0.8613 GB, free: 7.066 MB / 0.6231 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.006144/1.316, allocations: 2.453 MB / 0.8637 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.317, allocations: 371.7 kB / 0.8641 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/1.318, allocations: 233.4 kB / 0.8643 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009584/1.319, allocations: 311.6 kB / 0.8646 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.319, allocations: 34.89 kB / 0.8646 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 4.088e-06/1.319, allocations: 0 / 0.8646 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.002719/1.322, allocations: 0.6263 MB / 0.8653 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/1.322, allocations: 55.41 kB / 0.8653 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.323, allocations: 0.4912 MB / 0.8658 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/1.323, allocations: 33.7 kB / 0.8658 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/1.324, allocations: 332.4 kB / 0.8661 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/1.324, allocations: 138 kB / 0.8663 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/1.324, allocations: 90.03 kB / 0.8663 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002876/1.325, allocations: 366.8 kB / 0.8667 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/1.325, allocations: 170.5 kB / 0.8669 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/1.326, allocations: 296.2 kB / 0.8671 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.327, allocations: 453.3 kB / 0.8676 GB, free: 256 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.327, allocations: 4 kB / 0.8676 GB, free: 252 kB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001902/1.329, allocations: 0.5162 MB / 0.8681 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.329, allocations: 11.98 kB / 0.8681 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.329, allocations: 0 / 0.8681 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.696e-05/1.329, allocations: 11.94 kB / 0.8681 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.331, allocations: 132.1 kB / 0.8682 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006868/1.332, allocations: 0.59 MB / 0.8688 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.333, allocations: 47.52 kB / 0.8689 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/1.333, allocations: 26.14 kB / 0.8689 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.334, allocations: 353.7 kB / 0.8692 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007019/1.335, allocations: 288.2 kB / 0.8695 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/1.336, allocations: 452.3 kB / 0.8699 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/1.336, allocations: 0 / 0.8699 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0018/1.338, allocations: 0.524 MB / 0.8704 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.338, allocations: 8 kB / 0.8704 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.338, allocations: 1.562 kB / 0.8704 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.338, allocations: 4 kB / 0.8704 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/1.339, allocations: 119.8 kB / 0.8706 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.339, allocations: 4 kB / 0.8706 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.34, allocations: 51.73 kB / 0.8706 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.34, allocations: 19.98 kB / 0.8706 GB, free: 13 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000307/1.34, allocations: 212.1 kB / 0.8708 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/1.34, allocations: 63.25 kB / 0.8709 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.342, allocations: 476 kB / 0.8714 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.342, allocations: 4 kB / 0.8714 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.342, allocations: 4 kB / 0.8714 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/1.343, allocations: 0.7038 MB / 0.872 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.347, allocations: 1.278 MB / 0.8733 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.347, allocations: 4 kB / 0.8733 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.348, allocations: 120.5 kB / 0.8734 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.348, allocations: 8.156 kB / 0.8734 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/1.348, allocations: 20 kB / 0.8734 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005211/1.349, allocations: 0.5937 MB / 0.874 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.349, allocations: 160 / 0.874 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.351, allocations: 0.8264 MB / 0.8748 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/1.352, allocations: 184.3 kB / 0.875 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.352, allocations: 16 kB / 0.875 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/1.353, allocations: 15.98 kB / 0.875 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.353, allocations: 27.91 kB / 0.8751 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/1.353, allocations: 19.98 kB / 0.8751 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008039/1.354, allocations: 346.8 kB / 0.8754 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/1.354, allocations: 4 kB / 0.8754 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001992/1.356, allocations: 367 kB / 0.8758 GB, free: 7.5 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003239/1.359, allocations: 1.475 MB / 0.8772 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.362, allocations: 0.6714 MB / 0.8779 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.362, allocations: 1.125 kB / 0.8779 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007442/1.362, allocations: 223.9 kB / 0.8781 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/1.366, allocations: 348.9 kB / 0.8784 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.378, allocations: 5.003 MB / 0.8833 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.379, allocations: 0.9496 MB / 0.8842 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001172/1.38, allocations: 204.9 kB / 0.8844 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/1.381, allocations: 231.4 kB / 0.8846 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of SimCode: time 1.563e-06/1.381, allocations: 0 / 0.8846 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06929/1.45, allocations: 18.16 MB / 0.9024 GB, free: 12.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/21.48, allocations: 4.938 kB / 0.9024 GB, free: 12.31 MB / 0.67 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/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)