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: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001076/0.001076, allocations: 104.9 kB / 15.98 MB, free: 6.348 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.00107/0.00107, allocations: 193.2 kB / 16.91 MB, free: 6.188 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8238/0.8238, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.91 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4161, allocations: 80.18 MB / 0.5802 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5839/1, allocations: 182.6 MB / 0.7585 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01028/1.01, allocations: 6.925 MB / 0.7653 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/1.012, allocations: 26.5 kB / 0.7653 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/1.013, allocations: 355 kB / 0.7657 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004278/1.018, allocations: 1.355 MB / 0.767 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003723/1.021, allocations: 1.066 MB / 0.768 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00293/1.024, allocations: 1.947 MB / 0.7699 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/1.026, allocations: 0.6371 MB / 0.7706 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/1.028, allocations: 0.8318 MB / 0.7714 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/1.029, allocations: 0.638 MB / 0.772 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/1.029, allocations: 68.19 kB / 0.7721 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/1.034, allocations: 1.993 MB / 0.774 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/1.034, allocations: 298.5 kB / 0.7743 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/1.035, allocations: 427.4 kB / 0.7747 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/1.037, allocations: 1.295 MB / 0.776 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.037, allocations: 2.156 kB / 0.776 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/1.037, allocations: 0.625 kB / 0.776 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.408e-05/1.037, allocations: 0 / 0.776 GB, free: 1.488 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.002062/1.039, allocations: 1.157 MB / 0.7771 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.039, allocations: 11.75 kB / 0.7771 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.041, allocations: 273.6 kB / 0.7774 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/1.042, allocations: 0.583 MB / 0.7779 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/1.042, allocations: 40.47 kB / 0.778 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/1.042, allocations: 54.66 kB / 0.778 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.043, allocations: 0.6385 MB / 0.7786 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.043, allocations: 0 / 0.7786 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/1.043, allocations: 23.16 kB / 0.7787 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/1.043, allocations: 22 kB / 0.7787 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/1.044, allocations: 0.5178 MB / 0.7792 GB, free: 16.39 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.002909/1.047, allocations: 2.444 MB / 0.7816 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/1.048, allocations: 387.7 kB / 0.782 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/1.048, allocations: 236.9 kB / 0.7822 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/1.049, allocations: 309.4 kB / 0.7825 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.049, allocations: 38.84 kB / 0.7825 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/1.049, allocations: 1.094 kB / 0.7825 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001287/1.05, allocations: 0.6137 MB / 0.7831 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.05, allocations: 53.97 kB / 0.7832 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/1.05, allocations: 0.4937 MB / 0.7836 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/1.051, allocations: 35.61 kB / 0.7837 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/1.051, allocations: 327.2 kB / 0.784 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/1.051, allocations: 140.9 kB / 0.7841 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.051, allocations: 89.77 kB / 0.7842 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.051, allocations: 371.4 kB / 0.7846 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/1.051, allocations: 173.1 kB / 0.7847 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/1.052, allocations: 290 kB / 0.785 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/1.052, allocations: 450 kB / 0.7854 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.052, allocations: 6.656 kB / 0.7854 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008262/1.053, allocations: 0.5221 MB / 0.786 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.053, allocations: 5.438 kB / 0.786 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.053, allocations: 2.719 kB / 0.786 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.053, allocations: 6.625 kB / 0.786 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/1.054, allocations: 131.7 kB / 0.7861 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/1.054, allocations: 0.5958 MB / 0.7867 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.055, allocations: 78.75 kB / 0.7867 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/1.055, allocations: 21.83 kB / 0.7868 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004859/1.056, allocations: 351.8 kB / 0.7871 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003408/1.056, allocations: 286.5 kB / 0.7874 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006088/1.057, allocations: 449.2 kB / 0.7878 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/1.057, allocations: 0.8125 kB / 0.7878 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008807/1.058, allocations: 0.5197 MB / 0.7883 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.058, allocations: 9 kB / 0.7883 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.058, allocations: 0 / 0.7883 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/1.058, allocations: 8.875 kB / 0.7883 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/1.058, allocations: 121.8 kB / 0.7884 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.058, allocations: 3.406 kB / 0.7884 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/1.059, allocations: 70.08 kB / 0.7885 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/1.059, allocations: 23.84 kB / 0.7885 GB, free: 12.59 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.0001932/1.059, allocations: 208 kB / 0.7887 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.059, allocations: 61 kB / 0.7888 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/1.06, allocations: 486 kB / 0.7893 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.06, allocations: 10.06 kB / 0.7893 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.06, allocations: 0.7812 kB / 0.7893 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007297/1.061, allocations: 0.7062 MB / 0.79 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.063, allocations: 1.284 MB / 0.7912 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.063, allocations: 0 / 0.7912 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.063, allocations: 125.3 kB / 0.7913 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.063, allocations: 3.031 kB / 0.7913 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.063, allocations: 16.22 kB / 0.7914 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003121/1.064, allocations: 0.595 MB / 0.7919 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.064, allocations: 6.5 kB / 0.7919 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.065, allocations: 0.8114 MB / 0.7927 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/1.065, allocations: 185.8 kB / 0.7929 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/1.065, allocations: 8.75 kB / 0.7929 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/1.066, allocations: 53.44 kB / 0.793 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/1.066, allocations: 27.59 kB / 0.793 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/1.066, allocations: 17.62 kB / 0.793 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003845/1.066, allocations: 352.2 kB / 0.7933 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.066, allocations: 0 / 0.7933 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001061/1.067, allocations: 367.5 kB / 0.7937 GB, free: 10.41 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.0005773/1.068, allocations: 210.2 kB / 0.7939 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001497/1.069, allocations: 0.7144 MB / 0.7946 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.069, allocations: 0.9062 kB / 0.7946 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.07, allocations: 226.6 kB / 0.7948 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/1.071, allocations: 353.1 kB / 0.7951 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.074, allocations: 1.672 MB / 0.7968 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.074, allocations: 0.9475 MB / 0.7977 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/1.074, allocations: 56.64 kB / 0.7978 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/1.074, allocations: 0 / 0.7978 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.01821/1.093, allocations: 13.02 MB / 0.8105 GB, free: 5.43 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)