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.0008757/0.0008755, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008895/0.0008895, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9197/0.9197, allocations: 135.3 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 11.98 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 82.3 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4721/0.641, allocations: 168.3 MB / 0.7518 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.6512, allocations: 6.514 MB / 0.7582 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.6522, allocations: 23.81 kB / 0.7582 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.6533, allocations: 274.2 kB / 0.7585 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.6568, allocations: 1.051 MB / 0.7595 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6596, allocations: 0.8394 MB / 0.7603 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.6632, allocations: 2.288 MB / 0.7625 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.6641, allocations: 496 kB / 0.763 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.6657, allocations: 0.6924 MB / 0.7637 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.6666, allocations: 0.5681 MB / 0.7642 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.6666, allocations: 35.94 kB / 0.7643 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.6695, allocations: 1.138 MB / 0.7654 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.6698, allocations: 251.2 kB / 0.7656 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.6702, allocations: 177.3 kB / 0.7658 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.672, allocations: 1.138 MB / 0.7669 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.672, allocations: 0 / 0.7669 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.085e-06/0.672, allocations: 0 / 0.7669 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.672, allocations: 0 / 0.7669 GB, free: 5.121 MB / 0.5762 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.001881/0.6739, allocations: 1.031 MB / 0.7679 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.674, allocations: 8.031 kB / 0.7679 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.6741, allocations: 95.2 kB / 0.768 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.6759, allocations: 274.8 kB / 0.7683 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.6769, allocations: 0.5601 MB / 0.7688 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.677, allocations: 45.3 kB / 0.7689 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6771, allocations: 63.84 kB / 0.7689 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6784, allocations: 0.6323 MB / 0.7695 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6784, allocations: 4 kB / 0.7695 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.6785, allocations: 23.94 kB / 0.7696 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.6785, allocations: 18.5 kB / 0.7696 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.6794, allocations: 0.5243 MB / 0.7701 GB, free: 1.742 MB / 0.5762 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.003024/0.6824, allocations: 2.453 MB / 0.7725 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.6831, allocations: 386.5 kB / 0.7729 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.6834, allocations: 237.4 kB / 0.7731 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.684, allocations: 319.6 kB / 0.7734 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6841, allocations: 42.83 kB / 0.7734 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/0.6841, allocations: 4 kB / 0.7734 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001359/0.6854, allocations: 0.6239 MB / 0.7741 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6855, allocations: 55.41 kB / 0.7741 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.6861, allocations: 0.4911 MB / 0.7746 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.6861, allocations: 37.64 kB / 0.7746 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.6864, allocations: 324.5 kB / 0.7749 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6865, allocations: 141.9 kB / 0.7751 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.6865, allocations: 8 kB / 0.7751 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6867, allocations: 362.8 kB / 0.7754 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.687, allocations: 176.8 kB / 0.7756 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.6874, allocations: 288.2 kB / 0.7759 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.6878, allocations: 215.8 kB / 0.7761 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6878, allocations: 0 / 0.7761 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008956/0.6887, allocations: 0.5258 MB / 0.7766 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.6888, allocations: 157.2 kB / 0.7767 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6888, allocations: 0 / 0.7767 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6888, allocations: 4 kB / 0.7767 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.6896, allocations: 155.1 kB / 0.7769 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004006/0.69, allocations: 0.5925 MB / 0.7775 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.6906, allocations: 83.53 kB / 0.7775 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.6907, allocations: 19.98 kB / 0.7776 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.6907, allocations: 8 kB / 0.7776 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007973/0.6915, allocations: 459.8 kB / 0.778 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6915, allocations: 4 kB / 0.778 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.6915, allocations: 4 kB / 0.778 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.692, allocations: 127.8 kB / 0.7781 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.692, allocations: 7.938 kB / 0.7781 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.6925, allocations: 71.62 kB / 0.7782 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.6926, allocations: 20 kB / 0.7782 GB, free: 8.98 MB / 0.5919 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.693, allocations: 308.9 kB / 0.7785 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6931, allocations: 63.25 kB / 0.7786 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009493/0.694, allocations: 495 kB / 0.7791 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6941, allocations: 4 kB / 0.7791 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6941, allocations: 0 / 0.7791 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007561/0.6948, allocations: 0.7104 MB / 0.7798 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.6968, allocations: 1.294 MB / 0.781 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6968, allocations: 0 / 0.781 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.6974, allocations: 140.4 kB / 0.7812 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6974, allocations: 12.16 kB / 0.7812 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.6974, allocations: 8 kB / 0.7812 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/0.6978, allocations: 0.5946 MB / 0.7818 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6978, allocations: 4.031 kB / 0.7818 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.699, allocations: 0.8374 MB / 0.7826 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.6992, allocations: 180.4 kB / 0.7827 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.6993, allocations: 8 kB / 0.7828 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.6998, allocations: 55.86 kB / 0.7828 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.6999, allocations: 23.97 kB / 0.7828 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.6999, allocations: 19.77 kB / 0.7828 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004186/0.7003, allocations: 354.8 kB / 0.7832 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7003, allocations: 0 / 0.7832 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001023/0.7014, allocations: 359.2 kB / 0.7835 GB, free: 3.297 MB / 0.5919 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/0.7032, allocations: 1.482 MB / 0.785 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.7046, allocations: 0.6763 MB / 0.7856 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7046, allocations: 4.125 kB / 0.7856 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.705, allocations: 223.7 kB / 0.7859 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.7068, allocations: 361.9 kB / 0.7862 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.713, allocations: 3.839 MB / 0.7899 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.7138, allocations: 0.9493 MB / 0.7909 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008972/0.7147, allocations: 201 kB / 0.7911 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.715, allocations: 231.3 kB / 0.7913 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.715, allocations: 0 / 0.7913 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.7515, allocations: 17.55 MB / 0.8084 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.7517, allocations: 240.1 kB / 0.8087 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.971, allocations: 4.062 kB / 0.8087 GB, free: 9.734 MB / 0.6231 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/linux/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) Environment - environmentSimulation: