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.001088/0.001089, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7268/0.7268, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.33 kB / 0.5018 GB, free: 8.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 80.2 MB / 0.5801 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4434/0.5865, allocations: 185 MB / 0.7608 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00979/0.5964, allocations: 6.962 MB / 0.7676 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.5972, allocations: 31.81 kB / 0.7676 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.5983, allocations: 405.4 kB / 0.768 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.6016, allocations: 1.446 MB / 0.7694 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.6041, allocations: 1.158 MB / 0.7705 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.606, allocations: 1.934 MB / 0.7724 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.6069, allocations: 0.6648 MB / 0.7731 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.6082, allocations: 0.8172 MB / 0.7739 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.6095, allocations: 0.5957 MB / 0.7745 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.6097, allocations: 68 kB / 0.7745 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/0.614, allocations: 1.925 MB / 0.7764 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.6143, allocations: 295.2 kB / 0.7767 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.6147, allocations: 434 kB / 0.7771 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.6174, allocations: 1.753 MB / 0.7788 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6174, allocations: 0 / 0.7788 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6174, allocations: 0 / 0.7788 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.6174, allocations: 0 / 0.7788 GB, free: 7.254 MB / 0.5919 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.002116/0.6195, allocations: 1.163 MB / 0.78 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6196, allocations: 8.031 kB / 0.78 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.6215, allocations: 270.8 kB / 0.7802 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6226, allocations: 0.583 MB / 0.7808 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.6226, allocations: 41.31 kB / 0.7808 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6227, allocations: 56 kB / 0.7809 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.6238, allocations: 0.64 MB / 0.7815 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6238, allocations: 4 kB / 0.7815 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.6239, allocations: 20 kB / 0.7815 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.6239, allocations: 21.31 kB / 0.7815 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.6248, allocations: 0.5126 MB / 0.7821 GB, free: 3.84 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.002992/0.6278, allocations: 2.472 MB / 0.7845 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.6284, allocations: 380.6 kB / 0.7848 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.6288, allocations: 233.4 kB / 0.7851 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.6294, allocations: 307.6 kB / 0.7853 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.6294, allocations: 38.89 kB / 0.7854 GB, free: 148 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.6294, allocations: 0 / 0.7854 GB, free: 148 kB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001369/0.6308, allocations: 0.6151 MB / 0.786 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6309, allocations: 59.34 kB / 0.786 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.6314, allocations: 0.4911 MB / 0.7865 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.6314, allocations: 41.62 kB / 0.7866 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.6317, allocations: 328.4 kB / 0.7869 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6318, allocations: 146 kB / 0.787 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.6319, allocations: 86.03 kB / 0.7871 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6321, allocations: 366.8 kB / 0.7874 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.6324, allocations: 178.4 kB / 0.7876 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.6328, allocations: 280.3 kB / 0.7879 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.6335, allocations: 449 kB / 0.7883 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6335, allocations: 0 / 0.7883 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008877/0.6344, allocations: 0.5327 MB / 0.7888 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6344, allocations: 4 kB / 0.7888 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6344, allocations: 4 kB / 0.7888 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.6345, allocations: 4 kB / 0.7888 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.6352, allocations: 137.6 kB / 0.789 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/0.6356, allocations: 0.5976 MB / 0.7896 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.6361, allocations: 58.31 kB / 0.7896 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.6362, allocations: 20.09 kB / 0.7896 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005004/0.6367, allocations: 350.4 kB / 0.79 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003735/0.6371, allocations: 288.3 kB / 0.7902 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006642/0.6377, allocations: 444.6 kB / 0.7907 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.6378, allocations: 0 / 0.7907 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008287/0.6386, allocations: 0.5242 MB / 0.7912 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6386, allocations: 11.94 kB / 0.7912 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.6386, allocations: 0 / 0.7912 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.6386, allocations: 8 kB / 0.7912 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.6391, allocations: 115.8 kB / 0.7913 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6391, allocations: 4 kB / 0.7913 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.6396, allocations: 51.72 kB / 0.7914 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.6397, allocations: 16 kB / 0.7914 GB, free: 9.777 MB / 0.6075 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.6398, allocations: 208.2 kB / 0.7916 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.6399, allocations: 59.28 kB / 0.7916 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008573/0.6408, allocations: 486.8 kB / 0.7921 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6408, allocations: 4 kB / 0.7921 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6408, allocations: 4 kB / 0.7921 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007869/0.6416, allocations: 0.7146 MB / 0.7928 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.6435, allocations: 1.278 MB / 0.794 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6435, allocations: 4 kB / 0.794 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.6442, allocations: 128.8 kB / 0.7942 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6442, allocations: 4.219 kB / 0.7942 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.6442, allocations: 16 kB / 0.7942 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/0.6446, allocations: 0.5937 MB / 0.7948 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6446, allocations: 4 kB / 0.7948 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.6459, allocations: 0.8212 MB / 0.7956 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.6461, allocations: 184.3 kB / 0.7958 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.6462, allocations: 12 kB / 0.7958 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.6466, allocations: 19.89 kB / 0.7958 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.6467, allocations: 27.97 kB / 0.7958 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.6468, allocations: 15.98 kB / 0.7958 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000381/0.6471, allocations: 354.8 kB / 0.7962 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6471, allocations: 0 / 0.7962 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009097/0.6481, allocations: 359.2 kB / 0.7965 GB, free: 4.273 MB / 0.6075 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.0004629/0.6485, allocations: 194.9 kB / 0.7967 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.6501, allocations: 0.7192 MB / 0.7974 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6501, allocations: 0 / 0.7974 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.6505, allocations: 233 kB / 0.7976 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.6521, allocations: 360.2 kB / 0.798 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.6542, allocations: 1.38 MB / 0.7993 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.6547, allocations: 0.9458 MB / 0.8002 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006358/0.6554, allocations: 204.9 kB / 0.8004 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.6555, allocations: 55.42 kB / 0.8005 GB, free: 152 kB / 0.6075 GB Notification: Performance of SimCode: time 1.784e-06/0.6555, allocations: 0 / 0.8005 GB, free: 152 kB / 0.6075 GB Notification: Performance of Templates: time 0.02239/0.6779, allocations: 12.44 MB / 0.8126 GB, free: 3.922 MB / 0.6231 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)