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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01026/0.01026, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.002082/0.002082, allocations: 194.4 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4064, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1983/0.6047, allocations: 185 MB / 0.8449 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009709/0.6145, allocations: 6.966 MB / 0.8517 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.6154, allocations: 31.81 kB / 0.8517 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.6166, allocations: 401.5 kB / 0.8521 GB, free: 492 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.6202, allocations: 1.431 MB / 0.8535 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.6232, allocations: 1.163 MB / 0.8546 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00253/0.6258, allocations: 1.96 MB / 0.8565 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.6268, allocations: 0.6531 MB / 0.8572 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.6285, allocations: 0.8406 MB / 0.858 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.6299, allocations: 0.6066 MB / 0.8586 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.6301, allocations: 68 kB / 0.8586 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.6334, allocations: 1.929 MB / 0.8605 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.6339, allocations: 279.3 kB / 0.8608 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.6346, allocations: 430.1 kB / 0.8612 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.6381, allocations: 1.78 MB / 0.8629 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6381, allocations: 3.938 kB / 0.863 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6381, allocations: 0 / 0.863 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.6382, allocations: 0 / 0.863 GB, free: 5.316 MB / 0.6856 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.002168/0.6403, allocations: 1.157 MB / 0.8641 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6404, allocations: 16.03 kB / 0.8641 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.6405, allocations: 90.52 kB / 0.8642 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.6425, allocations: 274.7 kB / 0.8644 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.6437, allocations: 0.6066 MB / 0.865 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.6438, allocations: 45.25 kB / 0.8651 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.6439, allocations: 56 kB / 0.8651 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6451, allocations: 0.64 MB / 0.8658 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6452, allocations: 4 kB / 0.8658 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.6452, allocations: 20 kB / 0.8658 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.6453, allocations: 17.31 kB / 0.8658 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.6463, allocations: 0.5204 MB / 0.8663 GB, free: 1.766 MB / 0.6856 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.3177/0.964, allocations: 2.441 MB / 0.8687 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.9646, allocations: 379.3 kB / 0.8691 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.965, allocations: 235.5 kB / 0.8693 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.9655, allocations: 308.1 kB / 0.8696 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.9655, allocations: 41.78 kB / 0.8696 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 2.875e-06/0.9655, allocations: 0 / 0.8696 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39): time 0.001469/0.967, allocations: 0.6201 MB / 0.8702 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.9671, allocations: 55.16 kB / 0.8703 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.9677, allocations: 0.4943 MB / 0.8708 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.9677, allocations: 35.11 kB / 0.8708 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.9679, allocations: 323.1 kB / 0.8711 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.968, allocations: 138.9 kB / 0.8712 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.9682, allocations: 92.25 kB / 0.8713 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.9683, allocations: 366.8 kB / 0.8717 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.9686, allocations: 180.2 kB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.969, allocations: 285.6 kB / 0.8721 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.9698, allocations: 443.7 kB / 0.8725 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9698, allocations: 0.9375 kB / 0.8725 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009036/0.9707, allocations: 0.5276 MB / 0.873 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9707, allocations: 7.203 kB / 0.8731 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9707, allocations: 2.625 kB / 0.8731 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.9708, allocations: 8.25 kB / 0.8731 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.9715, allocations: 142.1 kB / 0.8732 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002386/0.9717, allocations: 0.5858 MB / 0.8738 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.9722, allocations: 52.98 kB / 0.8738 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.9723, allocations: 23.59 kB / 0.8738 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005251/0.9728, allocations: 352 kB / 0.8742 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00041/0.9732, allocations: 288.8 kB / 0.8745 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007081/0.974, allocations: 452.2 kB / 0.8749 GB, free: 190 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/0.974, allocations: 0.8125 kB / 0.8749 GB, free: 190 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008771/0.9749, allocations: 0.5166 MB / 0.8754 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9749, allocations: 8.344 kB / 0.8754 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.9749, allocations: 1.906 kB / 0.8754 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.9749, allocations: 5.391 kB / 0.8754 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.9754, allocations: 123.8 kB / 0.8755 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.9754, allocations: 4.094 kB / 0.8755 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.9759, allocations: 46.61 kB / 0.8756 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.9759, allocations: 19.69 kB / 0.8756 GB, free: 189.8 MB / 0.6856 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.000132/0.9761, allocations: 213 kB / 0.8758 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.9762, allocations: 60.34 kB / 0.8759 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00089/0.9771, allocations: 481.6 kB / 0.8763 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.9771, allocations: 4.469 kB / 0.8763 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9771, allocations: 4.312 kB / 0.8763 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007388/0.9778, allocations: 0.7055 MB / 0.877 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.9797, allocations: 1.285 MB / 0.8783 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.9797, allocations: 1.656 kB / 0.8783 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.9804, allocations: 129.9 kB / 0.8784 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.9804, allocations: 3.219 kB / 0.8784 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.9805, allocations: 16.97 kB / 0.8784 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001894/0.9807, allocations: 0.5911 MB / 0.879 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9807, allocations: 2.219 kB / 0.879 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.982, allocations: 0.8348 MB / 0.8798 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.9822, allocations: 177.3 kB / 0.88 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.9823, allocations: 15.14 kB / 0.88 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.9827, allocations: 16.75 kB / 0.88 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.9828, allocations: 29.91 kB / 0.88 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.9829, allocations: 20.97 kB / 0.8801 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00052/0.9834, allocations: 356.4 kB / 0.8804 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9834, allocations: 1.75 kB / 0.8804 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00116/0.9846, allocations: 364.7 kB / 0.8807 GB, free: 186.6 MB / 0.6856 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.001646/0.9862, allocations: 1.463 MB / 0.8822 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.9876, allocations: 0.677 MB / 0.8828 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9876, allocations: 1.281 kB / 0.8828 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.988, allocations: 221.1 kB / 0.883 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.9896, allocations: 364.5 kB / 0.8834 GB, free: 185 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.9956, allocations: 4.999 MB / 0.8883 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.996, allocations: 0.946 MB / 0.8892 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006592/0.9966, allocations: 202 kB / 0.8894 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.9969, allocations: 226.5 kB / 0.8896 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.9969, allocations: 1.594 kB / 0.8896 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/1.038, allocations: 18.17 MB / 0.9074 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.17, allocations: 4.875 kB / 0.9074 GB, free: 171.7 MB / 0.6856 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/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)