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: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001108/0.001108, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.768/0.768, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3689, allocations: 80.91 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5107/0.8797, allocations: 185 MB / 0.7665 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009493/0.8892, allocations: 6.964 MB / 0.7733 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.8905, allocations: 28.53 kB / 0.7733 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.8916, allocations: 411.5 kB / 0.7737 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.895, allocations: 1.445 MB / 0.7751 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.8981, allocations: 1.163 MB / 0.7762 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.9005, allocations: 1.939 MB / 0.7781 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.9013, allocations: 0.6587 MB / 0.7788 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.9029, allocations: 0.8266 MB / 0.7796 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.9041, allocations: 0.5977 MB / 0.7801 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.9042, allocations: 68.72 kB / 0.7802 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.9077, allocations: 1.929 MB / 0.7821 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.9081, allocations: 293.2 kB / 0.7824 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.9087, allocations: 431.2 kB / 0.7828 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.9116, allocations: 1.772 MB / 0.7845 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9116, allocations: 3.188 kB / 0.7845 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9116, allocations: 4.812 kB / 0.7845 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9116, allocations: 0 / 0.7845 GB, free: 1.293 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.001746/0.9133, allocations: 1.158 MB / 0.7857 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.9134, allocations: 11.27 kB / 0.7857 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.9151, allocations: 273.7 kB / 0.7859 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.9161, allocations: 0.6074 MB / 0.7865 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.9162, allocations: 42.94 kB / 0.7866 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.9162, allocations: 63 kB / 0.7866 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.9172, allocations: 0.6344 MB / 0.7872 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9172, allocations: 0 / 0.7872 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.9173, allocations: 26.42 kB / 0.7873 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.9173, allocations: 21.19 kB / 0.7873 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.9181, allocations: 0.5141 MB / 0.7878 GB, free: 16.2 MB / 0.5919 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.00265/0.9207, allocations: 2.451 MB / 0.7902 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.9213, allocations: 373.3 kB / 0.7905 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.9216, allocations: 243.7 kB / 0.7908 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/0.9222, allocations: 310.7 kB / 0.7911 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.9222, allocations: 37.05 kB / 0.7911 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.9222, allocations: 0.9062 kB / 0.7911 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001167/0.9234, allocations: 0.6103 MB / 0.7917 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.9234, allocations: 54.81 kB / 0.7917 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.9239, allocations: 0.505 MB / 0.7922 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.9239, allocations: 29.33 kB / 0.7923 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.9241, allocations: 329.6 kB / 0.7926 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.9242, allocations: 137.3 kB / 0.7927 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.9244, allocations: 90.91 kB / 0.7928 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9245, allocations: 369.7 kB / 0.7932 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.9248, allocations: 167.9 kB / 0.7933 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.9251, allocations: 288 kB / 0.7936 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.9257, allocations: 461.1 kB / 0.794 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9258, allocations: 0.875 kB / 0.794 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007618/0.9265, allocations: 0.5211 MB / 0.7945 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.9265, allocations: 7.141 kB / 0.7945 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9266, allocations: 3.469 kB / 0.7945 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9266, allocations: 5.156 kB / 0.7946 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.9272, allocations: 134.5 kB / 0.7947 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003641/0.9276, allocations: 0.601 MB / 0.7953 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.9281, allocations: 49.7 kB / 0.7953 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.9282, allocations: 24.03 kB / 0.7953 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004476/0.9286, allocations: 350.4 kB / 0.7957 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003501/0.929, allocations: 284.7 kB / 0.7959 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005646/0.9295, allocations: 455.9 kB / 0.7964 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.9296, allocations: 0.9844 kB / 0.7964 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000739/0.9303, allocations: 0.5204 MB / 0.7969 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.9303, allocations: 11.62 kB / 0.7969 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.9303, allocations: 2.219 kB / 0.7969 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.9303, allocations: 5.469 kB / 0.7969 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.9308, allocations: 119.3 kB / 0.797 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9308, allocations: 3.188 kB / 0.797 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.9312, allocations: 45.12 kB / 0.7971 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.9313, allocations: 16.97 kB / 0.7971 GB, free: 12.4 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 (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.0001623/0.9314, allocations: 211.7 kB / 0.7973 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.9315, allocations: 60.31 kB / 0.7973 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.9323, allocations: 487.1 kB / 0.7978 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9323, allocations: 5.062 kB / 0.7978 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9323, allocations: 0 / 0.7978 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000694/0.933, allocations: 0.6995 MB / 0.7985 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.9348, allocations: 1.283 MB / 0.7997 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9348, allocations: 2.281 kB / 0.7998 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.9353, allocations: 124.7 kB / 0.7999 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9354, allocations: 3.938 kB / 0.7999 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.9354, allocations: 13.03 kB / 0.7999 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003063/0.9357, allocations: 0.5983 MB / 0.8005 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9357, allocations: 3.594 kB / 0.8005 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.9367, allocations: 0.8237 MB / 0.8013 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.937, allocations: 189.1 kB / 0.8015 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.9371, allocations: 15.78 kB / 0.8015 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.9375, allocations: 18.72 kB / 0.8015 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.9376, allocations: 33.52 kB / 0.8015 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.9376, allocations: 14.48 kB / 0.8015 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003091/0.9379, allocations: 351.9 kB / 0.8019 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9379, allocations: 0.875 kB / 0.8019 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008041/0.9387, allocations: 360.1 kB / 0.8022 GB, free: 10.23 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 (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.0004088/0.9391, allocations: 216.6 kB / 0.8024 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.9404, allocations: 0.6738 MB / 0.8031 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9404, allocations: 2.047 kB / 0.8031 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.9407, allocations: 217.6 kB / 0.8033 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.9421, allocations: 360.6 kB / 0.8036 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.944, allocations: 1.372 MB / 0.805 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.9445, allocations: 0.946 MB / 0.8059 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000504/0.945, allocations: 198.1 kB / 0.8061 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.9451, allocations: 54.28 kB / 0.8061 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.9451, allocations: 0 / 0.8061 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of Templates: time 0.01988/0.965, allocations: 12.43 MB / 0.8183 GB, free: 5.199 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)