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.007276/0.007276, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001712/0.001712, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.75 kB / 0.5809 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1453, allocations: 80.21 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5611/0.7064, allocations: 185 MB / 0.8399 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009331/0.7158, allocations: 6.961 MB / 0.8467 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.7167, allocations: 29.28 kB / 0.8467 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.7179, allocations: 415.5 kB / 0.8471 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.7212, allocations: 1.498 MB / 0.8486 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.7238, allocations: 1.186 MB / 0.8497 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.7258, allocations: 1.942 MB / 0.8516 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.7265, allocations: 0.658 MB / 0.8523 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.7278, allocations: 0.8496 MB / 0.8531 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.7288, allocations: 0.5985 MB / 0.8537 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.7289, allocations: 67.97 kB / 0.8538 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.732, allocations: 1.947 MB / 0.8557 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.7323, allocations: 296 kB / 0.8559 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.7327, allocations: 430.7 kB / 0.8564 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.735, allocations: 1.777 MB / 0.8581 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.735, allocations: 0 / 0.8581 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7351, allocations: 0 / 0.8581 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.7351, allocations: 0 / 0.8581 GB, free: 10.61 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.001696/0.7368, allocations: 1.194 MB / 0.8593 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7368, allocations: 8.031 kB / 0.8593 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.7369, allocations: 94.52 kB / 0.8594 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.7387, allocations: 271.2 kB / 0.8596 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.7397, allocations: 0.6187 MB / 0.8602 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.7398, allocations: 45.3 kB / 0.8603 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.7399, allocations: 59.94 kB / 0.8603 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.7409, allocations: 0.6362 MB / 0.8609 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7409, allocations: 0 / 0.8609 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.741, allocations: 24 kB / 0.861 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.741, allocations: 17.31 kB / 0.861 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.7419, allocations: 0.5242 MB / 0.8615 GB, free: 7.008 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.002881/0.7448, allocations: 2.453 MB / 0.8639 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.7454, allocations: 375.7 kB / 0.8642 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.7458, allocations: 238 kB / 0.8645 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.7464, allocations: 307.6 kB / 0.8648 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.7464, allocations: 38.89 kB / 0.8648 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.7464, allocations: 3.938 kB / 0.8648 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001283/0.7477, allocations: 0.6189 MB / 0.8654 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.7477, allocations: 59.41 kB / 0.8655 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.7483, allocations: 499 kB / 0.8659 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.7483, allocations: 37.7 kB / 0.866 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.7485, allocations: 329 kB / 0.8663 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7486, allocations: 154.7 kB / 0.8664 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.7488, allocations: 82.14 kB / 0.8665 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.749, allocations: 366.8 kB / 0.8669 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.7493, allocations: 178.5 kB / 0.867 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.7497, allocations: 288.2 kB / 0.8673 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.7504, allocations: 453.3 kB / 0.8677 GB, free: 184 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7504, allocations: 0 / 0.8677 GB, free: 184 kB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008662/0.7513, allocations: 0.5284 MB / 0.8683 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7513, allocations: 4 kB / 0.8683 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7513, allocations: 7.938 kB / 0.8683 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7513, allocations: 7.938 kB / 0.8683 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.7521, allocations: 131.8 kB / 0.8684 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/0.7524, allocations: 0.5977 MB / 0.869 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.7529, allocations: 59.27 kB / 0.869 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.753, allocations: 20 kB / 0.8691 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000482/0.7535, allocations: 345.7 kB / 0.8694 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003822/0.7539, allocations: 292.3 kB / 0.8697 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006543/0.7545, allocations: 448.4 kB / 0.8701 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.7546, allocations: 5.562 kB / 0.8701 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008328/0.7554, allocations: 0.528 MB / 0.8706 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.7554, allocations: 8 kB / 0.8706 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7554, allocations: 4 kB / 0.8706 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.7554, allocations: 4.281 kB / 0.8706 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.7559, allocations: 115.9 kB / 0.8707 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7559, allocations: 7.938 kB / 0.8708 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.7564, allocations: 43.77 kB / 0.8708 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.7565, allocations: 23.98 kB / 0.8708 GB, free: 12.92 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.000147/0.7566, allocations: 204.1 kB / 0.871 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.7567, allocations: 63.62 kB / 0.8711 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.7576, allocations: 484 kB / 0.8715 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.7576, allocations: 4 kB / 0.8715 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7576, allocations: 0 / 0.8715 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007648/0.7584, allocations: 0.703 MB / 0.8722 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.7602, allocations: 1.278 MB / 0.8735 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7602, allocations: 4.219 kB / 0.8735 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.7608, allocations: 132 kB / 0.8736 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.7609, allocations: 4 kB / 0.8736 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.7609, allocations: 8 kB / 0.8736 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003081/0.7612, allocations: 0.5938 MB / 0.8742 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.7612, allocations: 12.81 kB / 0.8742 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.7624, allocations: 0.8216 MB / 0.875 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.7626, allocations: 188.6 kB / 0.8752 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.7627, allocations: 8 kB / 0.8752 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.7631, allocations: 24.95 kB / 0.8752 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.7632, allocations: 27.97 kB / 0.8752 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.7632, allocations: 20.98 kB / 0.8753 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003757/0.7636, allocations: 350.8 kB / 0.8756 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7636, allocations: 0 / 0.8756 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000942/0.7646, allocations: 367.3 kB / 0.876 GB, free: 7.414 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.001765/0.7664, allocations: 1.477 MB / 0.8774 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.7677, allocations: 0.6719 MB / 0.8781 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7678, allocations: 0 / 0.8781 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.7682, allocations: 219.7 kB / 0.8783 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.7698, allocations: 358.9 kB / 0.8786 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.7762, allocations: 5.03 MB / 0.8835 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.7767, allocations: 0.9458 MB / 0.8844 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006507/0.7774, allocations: 204.9 kB / 0.8846 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.7777, allocations: 231.4 kB / 0.8849 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.485e-06/0.7777, allocations: 0 / 0.8849 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.8177, allocations: 17.88 MB / 0.9023 GB, free: 12.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.01, allocations: 16.94 kB / 0.9023 GB, free: 12.46 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)