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.001501/0.001501, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001457/0.001457, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8145/0.8145, allocations: 135.2 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.88 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3517, allocations: 80.91 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5307/0.8825, allocations: 185 MB / 0.7657 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009183/0.8918, allocations: 6.96 MB / 0.7725 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.8929, allocations: 28.34 kB / 0.7726 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.8939, allocations: 406.7 kB / 0.773 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.897, allocations: 1.445 MB / 0.7744 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.9001, allocations: 1.156 MB / 0.7755 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.9023, allocations: 1.942 MB / 0.7774 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.9033, allocations: 0.6589 MB / 0.778 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.905, allocations: 0.8227 MB / 0.7788 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.9063, allocations: 0.5976 MB / 0.7794 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.9064, allocations: 69.56 kB / 0.7795 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.9099, allocations: 1.924 MB / 0.7814 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.9103, allocations: 292.9 kB / 0.7816 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005104/0.9108, allocations: 431.5 kB / 0.7821 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.9136, allocations: 1.753 MB / 0.7838 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9137, allocations: 4.469 kB / 0.7838 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9137, allocations: 0 / 0.7838 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.9137, allocations: 0.8438 kB / 0.7838 GB, free: 1.355 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.00178/0.9155, allocations: 1.169 MB / 0.7849 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.9155, allocations: 9.516 kB / 0.7849 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.9173, allocations: 268.4 kB / 0.7852 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.9181, allocations: 0.58 MB / 0.7857 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.9181, allocations: 43.66 kB / 0.7858 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.9182, allocations: 59.03 kB / 0.7858 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.9191, allocations: 0.6366 MB / 0.7865 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.9191, allocations: 0 / 0.7865 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.9192, allocations: 23.89 kB / 0.7865 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.9192, allocations: 23.56 kB / 0.7865 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.92, allocations: 0.5204 MB / 0.787 GB, free: 16.25 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.002632/0.9226, allocations: 2.462 MB / 0.7894 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.9232, allocations: 375.5 kB / 0.7898 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.9235, allocations: 241.2 kB / 0.79 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/0.9241, allocations: 304.5 kB / 0.7903 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.9241, allocations: 41.39 kB / 0.7903 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.475e-06/0.9241, allocations: 4.531 kB / 0.7903 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001214/0.9253, allocations: 0.6076 MB / 0.7909 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.9254, allocations: 53.97 kB / 0.791 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.9259, allocations: 0.4968 MB / 0.7915 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.9259, allocations: 39.12 kB / 0.7915 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.9261, allocations: 327.6 kB / 0.7918 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.9262, allocations: 139.3 kB / 0.792 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.9263, allocations: 85.64 kB / 0.792 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9265, allocations: 374.9 kB / 0.7924 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.9268, allocations: 172 kB / 0.7926 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.9271, allocations: 284.6 kB / 0.7928 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.9277, allocations: 460.1 kB / 0.7933 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9278, allocations: 0.9062 kB / 0.7933 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007802/0.9285, allocations: 0.5269 MB / 0.7938 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9286, allocations: 5.594 kB / 0.7938 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9286, allocations: 2.781 kB / 0.7938 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9286, allocations: 5.344 kB / 0.7938 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.9293, allocations: 131 kB / 0.7939 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/0.9297, allocations: 0.6041 MB / 0.7945 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.9302, allocations: 43.48 kB / 0.7946 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.9302, allocations: 23.23 kB / 0.7946 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004537/0.9307, allocations: 347.3 kB / 0.7949 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003652/0.9311, allocations: 292.6 kB / 0.7952 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006087/0.9317, allocations: 444.5 kB / 0.7956 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.9317, allocations: 2.312 kB / 0.7956 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007542/0.9325, allocations: 0.5274 MB / 0.7961 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9325, allocations: 13.12 kB / 0.7961 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.9325, allocations: 0 / 0.7961 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.9325, allocations: 4.875 kB / 0.7961 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.933, allocations: 118.1 kB / 0.7963 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.933, allocations: 7.141 kB / 0.7963 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.9335, allocations: 45.48 kB / 0.7963 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.9335, allocations: 17.22 kB / 0.7963 GB, free: 12.45 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.0002179/0.9337, allocations: 208.8 kB / 0.7965 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.9339, allocations: 61.97 kB / 0.7966 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.9348, allocations: 483.3 kB / 0.797 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.9348, allocations: 6.125 kB / 0.7971 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9348, allocations: 0 / 0.7971 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008619/0.9357, allocations: 0.698 MB / 0.7977 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.9376, allocations: 1.287 MB / 0.799 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9376, allocations: 5.672 kB / 0.799 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.9382, allocations: 132.2 kB / 0.7991 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.9382, allocations: 0 / 0.7991 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.9383, allocations: 14.69 kB / 0.7991 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/0.9387, allocations: 0.5957 MB / 0.7997 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9387, allocations: 2.812 kB / 0.7997 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.9398, allocations: 0.8236 MB / 0.8005 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.9401, allocations: 185.8 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.9402, allocations: 15.89 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.9406, allocations: 18.14 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.9406, allocations: 30.67 kB / 0.8008 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.9407, allocations: 18.2 kB / 0.8008 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003619/0.941, allocations: 355.7 kB / 0.8011 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9411, allocations: 1.062 kB / 0.8011 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009109/0.942, allocations: 357.9 kB / 0.8015 GB, free: 10.27 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.000505/0.9425, allocations: 213.9 kB / 0.8017 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.9438, allocations: 0.7116 MB / 0.8024 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9438, allocations: 0.6875 kB / 0.8024 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.9442, allocations: 224.7 kB / 0.8026 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.9457, allocations: 362.2 kB / 0.8029 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.948, allocations: 1.442 MB / 0.8043 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.9485, allocations: 0.9435 MB / 0.8053 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.9487, allocations: 51.92 kB / 0.8053 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.9487, allocations: 0 / 0.8053 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.01837/0.9671, allocations: 13.01 MB / 0.818 GB, free: 4.629 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)