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.004888/0.004887, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.00124/0.00124, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 68.53 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1625, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5574/0.72, allocations: 185 MB / 0.8399 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008361/0.7284, allocations: 6.97 MB / 0.8467 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.7295, allocations: 31.44 kB / 0.8467 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.7306, allocations: 392.2 kB / 0.8471 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.7341, allocations: 1.445 MB / 0.8485 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.7368, allocations: 1.169 MB / 0.8497 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.7391, allocations: 1.939 MB / 0.8516 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.7399, allocations: 0.6665 MB / 0.8522 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.7413, allocations: 0.8279 MB / 0.853 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.7425, allocations: 0.5942 MB / 0.8536 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.7426, allocations: 67.94 kB / 0.8537 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.7461, allocations: 1.928 MB / 0.8555 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.7464, allocations: 296.3 kB / 0.8558 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004919/0.7469, allocations: 432.9 kB / 0.8562 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.7498, allocations: 1.772 MB / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7498, allocations: 3.25 kB / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7498, allocations: 0 / 0.858 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.7498, allocations: 0.9062 kB / 0.858 GB, free: 2.277 MB / 0.6387 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.001623/0.7515, allocations: 1.189 MB / 0.8591 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7515, allocations: 10.94 kB / 0.8591 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.345e-05/0.7516, allocations: 98.05 kB / 0.8592 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.7533, allocations: 277 kB / 0.8595 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.7542, allocations: 0.6279 MB / 0.8601 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.7543, allocations: 37.47 kB / 0.8602 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.7544, allocations: 54.81 kB / 0.8602 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.7553, allocations: 0.6385 MB / 0.8608 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.7554, allocations: 0 / 0.8608 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.7554, allocations: 19 kB / 0.8609 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.7555, allocations: 18.81 kB / 0.8609 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.7563, allocations: 0.5255 MB / 0.8614 GB, free: 1.098 MB / 0.6387 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.002905/0.7592, allocations: 2.453 MB / 0.8638 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.7598, allocations: 377 kB / 0.8641 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.7601, allocations: 235.8 kB / 0.8644 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.7607, allocations: 310.8 kB / 0.8647 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.7608, allocations: 35.55 kB / 0.8647 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.7608, allocations: 0.875 kB / 0.8647 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001289/0.7621, allocations: 0.6223 MB / 0.8653 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.7621, allocations: 59.19 kB / 0.8654 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.7627, allocations: 0.491 MB / 0.8658 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.7627, allocations: 35.2 kB / 0.8659 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.7629, allocations: 329.6 kB / 0.8662 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7631, allocations: 148.2 kB / 0.8663 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7632, allocations: 89.94 kB / 0.8664 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7634, allocations: 370.8 kB / 0.8668 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.7637, allocations: 177 kB / 0.8669 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.7641, allocations: 283.5 kB / 0.8672 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.7648, allocations: 449.5 kB / 0.8676 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7648, allocations: 4.031 kB / 0.8676 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008198/0.7656, allocations: 0.5285 MB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7656, allocations: 4.844 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7656, allocations: 3.219 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7657, allocations: 3.031 kB / 0.8682 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.7664, allocations: 132.9 kB / 0.8683 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/0.7668, allocations: 0.5987 MB / 0.8689 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.7673, allocations: 54.61 kB / 0.8689 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.7674, allocations: 17.91 kB / 0.8689 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005027/0.7679, allocations: 351.9 kB / 0.8693 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003697/0.7683, allocations: 288.9 kB / 0.8696 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000623/0.7689, allocations: 454.5 kB / 0.87 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.7689, allocations: 4.844 kB / 0.87 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007759/0.7697, allocations: 0.5281 MB / 0.8705 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.7697, allocations: 7.531 kB / 0.8705 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7697, allocations: 6.562 kB / 0.8705 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.7697, allocations: 5.781 kB / 0.8705 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.7702, allocations: 119.3 kB / 0.8706 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7702, allocations: 9.453 kB / 0.8707 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.7707, allocations: 55.25 kB / 0.8707 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.7708, allocations: 17.09 kB / 0.8707 GB, free: 13.25 MB / 0.6544 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.0001852/0.7709, allocations: 201.1 kB / 0.8709 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.771, allocations: 66.25 kB / 0.871 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.7719, allocations: 479.2 kB / 0.8714 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7719, allocations: 5.5 kB / 0.8714 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7719, allocations: 4.969 kB / 0.8714 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007489/0.7726, allocations: 0.7039 MB / 0.8721 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.7744, allocations: 1.273 MB / 0.8734 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7744, allocations: 3.188 kB / 0.8734 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.775, allocations: 126.9 kB / 0.8735 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.775, allocations: 10.12 kB / 0.8735 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.7751, allocations: 12.38 kB / 0.8735 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003606/0.7754, allocations: 0.5881 MB / 0.8741 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.7755, allocations: 10.31 kB / 0.8741 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.7766, allocations: 0.8208 MB / 0.8749 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.7768, allocations: 186.4 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.7769, allocations: 10.91 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.7773, allocations: 20.92 kB / 0.8751 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.7774, allocations: 30.23 kB / 0.8751 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.7774, allocations: 21.11 kB / 0.8752 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004108/0.7778, allocations: 347.6 kB / 0.8755 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7779, allocations: 0 / 0.8755 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009025/0.7788, allocations: 362.4 kB / 0.8758 GB, free: 11.09 MB / 0.6544 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.001857/0.7806, allocations: 1.484 MB / 0.8773 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.782, allocations: 0.6688 MB / 0.8779 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.782, allocations: 1.031 kB / 0.8779 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.7824, allocations: 218.8 kB / 0.8781 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.784, allocations: 361.8 kB / 0.8785 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.7902, allocations: 5.017 MB / 0.8834 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.7908, allocations: 0.9519 MB / 0.8843 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006816/0.7915, allocations: 203 kB / 0.8845 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.7918, allocations: 230.1 kB / 0.8847 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.7918, allocations: 0 / 0.8847 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.8387, allocations: 17.88 MB / 0.9022 GB, free: 14.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.08, allocations: 11.31 kB / 0.9022 GB, free: 14.21 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)