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.006311/0.006311, allocations: 99.77 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.001578/0.001578, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.827/0.827, allocations: 135.6 MB / 426.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 65.8 kB / 0.5857 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 81.04 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5344/0.6912, allocations: 185 MB / 0.8456 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.7013, allocations: 6.968 MB / 0.8524 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.7026, allocations: 29.12 kB / 0.8524 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.7039, allocations: 406.9 kB / 0.8528 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.7078, allocations: 1.442 MB / 0.8542 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.7109, allocations: 1.162 MB / 0.8553 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.7134, allocations: 1.945 MB / 0.8572 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.7144, allocations: 0.6565 MB / 0.8579 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.716, allocations: 0.8261 MB / 0.8587 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.7173, allocations: 0.5954 MB / 0.8593 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.7174, allocations: 67.78 kB / 0.8593 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.721, allocations: 1.937 MB / 0.8612 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.7214, allocations: 287.2 kB / 0.8615 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.722, allocations: 434.1 kB / 0.8619 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.7251, allocations: 1.779 MB / 0.8636 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7251, allocations: 3.984 kB / 0.8637 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7252, allocations: 0 / 0.8637 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7252, allocations: 0 / 0.8637 GB, free: 3.051 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.001914/0.7271, allocations: 1.19 MB / 0.8648 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7271, allocations: 13.05 kB / 0.8648 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.7273, allocations: 94.52 kB / 0.8649 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.7291, allocations: 275.2 kB / 0.8652 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.7301, allocations: 0.6149 MB / 0.8658 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.7301, allocations: 41.31 kB / 0.8658 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.7302, allocations: 59.94 kB / 0.8659 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.7313, allocations: 0.6362 MB / 0.8665 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7314, allocations: 0 / 0.8665 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.7314, allocations: 20.08 kB / 0.8665 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.7315, allocations: 25.3 kB / 0.8665 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.7324, allocations: 0.5164 MB / 0.867 GB, free: 15.45 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.003127/0.7356, allocations: 2.461 MB / 0.8694 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.7362, allocations: 378 kB / 0.8698 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.7366, allocations: 237.1 kB / 0.87 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.7372, allocations: 311.6 kB / 0.8703 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.7372, allocations: 34.89 kB / 0.8704 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.7373, allocations: 0 / 0.8704 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001421/0.7387, allocations: 0.616 MB / 0.871 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7387, allocations: 63.34 kB / 0.871 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.7394, allocations: 0.4912 MB / 0.8715 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.7394, allocations: 33.7 kB / 0.8715 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.7397, allocations: 329 kB / 0.8719 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.7398, allocations: 142.7 kB / 0.872 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.74, allocations: 94.08 kB / 0.8721 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.7402, allocations: 366.8 kB / 0.8724 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.7405, allocations: 174.5 kB / 0.8726 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.741, allocations: 284.3 kB / 0.8729 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.7417, allocations: 456.2 kB / 0.8733 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7418, allocations: 0 / 0.8733 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009733/0.7427, allocations: 0.5283 MB / 0.8738 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7428, allocations: 8 kB / 0.8738 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7428, allocations: 3.938 kB / 0.8738 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.7428, allocations: 15.92 kB / 0.8738 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.7435, allocations: 123.8 kB / 0.874 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/0.744, allocations: 0.5939 MB / 0.8745 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.7446, allocations: 55.61 kB / 0.8746 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.7446, allocations: 23.98 kB / 0.8746 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005747/0.7452, allocations: 348.9 kB / 0.875 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004238/0.7456, allocations: 284.3 kB / 0.8752 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007154/0.7464, allocations: 448.6 kB / 0.8756 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.7464, allocations: 7.938 kB / 0.8757 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009224/0.7473, allocations: 0.5242 MB / 0.8762 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7473, allocations: 9.875 kB / 0.8762 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.7473, allocations: 0 / 0.8762 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.7473, allocations: 4.281 kB / 0.8762 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.7479, allocations: 123.8 kB / 0.8763 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7479, allocations: 4 kB / 0.8763 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.7484, allocations: 39.83 kB / 0.8763 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.7484, allocations: 19.98 kB / 0.8764 GB, free: 5.379 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.0001969/0.7486, allocations: 220.3 kB / 0.8766 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.7487, allocations: 67.62 kB / 0.8766 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009421/0.7497, allocations: 482.2 kB / 0.8771 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.7497, allocations: 4 kB / 0.8771 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7497, allocations: 0 / 0.8771 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000843/0.7506, allocations: 0.6988 MB / 0.8778 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.7526, allocations: 1.286 MB / 0.879 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7526, allocations: 4.219 kB / 0.879 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.7532, allocations: 129 kB / 0.8792 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7533, allocations: 0 / 0.8792 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.7533, allocations: 16 kB / 0.8792 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003552/0.7537, allocations: 0.5898 MB / 0.8798 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7537, allocations: 4.094 kB / 0.8798 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.7549, allocations: 0.8336 MB / 0.8806 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.7552, allocations: 184.6 kB / 0.8808 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.7553, allocations: 16.86 kB / 0.8808 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.7557, allocations: 22.34 kB / 0.8808 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.7558, allocations: 27.97 kB / 0.8808 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.7558, allocations: 19.98 kB / 0.8808 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004269/0.7563, allocations: 350.8 kB / 0.8812 GB, free: 216 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7563, allocations: 0 / 0.8812 GB, free: 216 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001044/0.7573, allocations: 363.3 kB / 0.8815 GB, free: 15.85 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.002084/0.7594, allocations: 1.474 MB / 0.883 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.761, allocations: 0.6649 MB / 0.8836 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.761, allocations: 4 kB / 0.8836 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.7614, allocations: 219.7 kB / 0.8838 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7631, allocations: 360.8 kB / 0.8842 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.7704, allocations: 5.019 MB / 0.8891 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.771, allocations: 0.9535 MB / 0.89 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006883/0.7717, allocations: 208.9 kB / 0.8902 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.7721, allocations: 227.4 kB / 0.8904 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.7721, allocations: 0 / 0.8904 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.8199, allocations: 17.9 MB / 0.9079 GB, free: 4.875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.35, allocations: 8.062 kB / 0.9079 GB, free: 4.867 MB / 0.67 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)