Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7519/0.7519, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 404.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009708, allocations: 103.5 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 55.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1532, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5106/0.6639, allocations: 195.7 MB / 0.8333 GB, free: 13.37 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.6769, allocations: 10.97 MB / 0.844 GB, free: 2.367 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.6781, allocations: 39.75 kB / 0.844 GB, free: 2.328 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6795, allocations: 449.4 kB / 0.8445 GB, free: 1.887 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.6833, allocations: 1.673 MB / 0.8461 GB, free: 212 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.6861, allocations: 1.045 MB / 0.8471 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004186/0.6902, allocations: 3.763 MB / 0.8508 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.6917, allocations: 1.032 MB / 0.8518 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.6959, allocations: 1.484 MB / 0.8532 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.6976, allocations: 0.9743 MB / 0.8542 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.6978, allocations: 68 kB / 0.8543 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.7019, allocations: 1.917 MB / 0.8561 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.7025, allocations: 478.6 kB / 0.8566 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000806/0.7033, allocations: 0.649 MB / 0.8572 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.7066, allocations: 2.38 MB / 0.8595 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7066, allocations: 0 / 0.8595 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.7066, allocations: 0 / 0.8595 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7066, allocations: 0 / 0.8595 GB, free: 2.391 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002688/0.7093, allocations: 1.694 MB / 0.8612 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7094, allocations: 12.03 kB / 0.8612 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.7111, allocations: 314.1 kB / 0.8615 GB, free: 332 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.7126, allocations: 0.8703 MB / 0.8624 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.7127, allocations: 82 kB / 0.8624 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.7129, allocations: 107.9 kB / 0.8625 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.7146, allocations: 1.175 MB / 0.8637 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.7146, allocations: 0 / 0.8637 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.7147, allocations: 43.98 kB / 0.8637 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.7148, allocations: 38 kB / 0.8638 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.7163, allocations: 0.9329 MB / 0.8647 GB, free: 13 MB / 0.6042 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.005195/0.7215, allocations: 4.71 MB / 0.8693 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.7227, allocations: 0.7151 MB / 0.87 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.7232, allocations: 395 kB / 0.8704 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000583/0.7238, allocations: 320.8 kB / 0.8707 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7239, allocations: 43.05 kB / 0.8707 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 2.494e-06/0.7239, allocations: 0 / 0.8707 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.00184/0.7257, allocations: 1.005 MB / 0.8717 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.7258, allocations: 55.97 kB / 0.8717 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.7267, allocations: 0.7987 MB / 0.8725 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.7268, allocations: 41.7 kB / 0.8726 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.7272, allocations: 0.5305 MB / 0.8731 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.7274, allocations: 248.5 kB / 0.8733 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.7276, allocations: 146.6 kB / 0.8735 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7278, allocations: 341.9 kB / 0.8738 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.7282, allocations: 296.7 kB / 0.8741 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.7289, allocations: 0.507 MB / 0.8746 GB, free: 2.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.73, allocations: 0.7952 MB / 0.8753 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.73, allocations: 0 / 0.8753 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001413/0.7314, allocations: 0.9059 MB / 0.8762 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7315, allocations: 4 kB / 0.8762 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.7315, allocations: 8.938 kB / 0.8762 GB, free: 496 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.7315, allocations: 11.98 kB / 0.8762 GB, free: 484 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.7324, allocations: 176.2 kB / 0.8764 GB, free: 308 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004004/0.7328, allocations: 0.6102 MB / 0.877 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.7336, allocations: 127.2 kB / 0.8771 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.7337, allocations: 31.98 kB / 0.8772 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008064/0.7345, allocations: 0.5448 MB / 0.8777 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006112/0.7352, allocations: 0.4938 MB / 0.8782 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.7363, allocations: 0.7952 MB / 0.8789 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.7363, allocations: 0 / 0.8789 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001391/0.7377, allocations: 0.9023 MB / 0.8798 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7377, allocations: 11.94 kB / 0.8798 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7377, allocations: 7.938 kB / 0.8798 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.7377, allocations: 8 kB / 0.8799 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.7383, allocations: 167.7 kB / 0.88 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7384, allocations: 9.328 kB / 0.88 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.7392, allocations: 122 kB / 0.8801 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.7393, allocations: 31.94 kB / 0.8802 GB, free: 12.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0002078/0.7395, allocations: 224.1 kB / 0.8804 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.7396, allocations: 106.7 kB / 0.8805 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.741, allocations: 0.7938 MB / 0.8813 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.7411, allocations: 8 kB / 0.8813 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7411, allocations: 0 / 0.8813 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.7422, allocations: 0.8749 MB / 0.8821 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.7457, allocations: 2.135 MB / 0.8842 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.7458, allocations: 4 kB / 0.8842 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/0.7465, allocations: 160.1 kB / 0.8844 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.7465, allocations: 4 kB / 0.8844 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.7466, allocations: 20 kB / 0.8844 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003413/0.7469, allocations: 0.5936 MB / 0.885 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.747, allocations: 8.016 kB / 0.885 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.7628, allocations: 8.022 MB / 0.8928 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.7632, allocations: 263.5 kB / 0.8931 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.7633, allocations: 19.94 kB / 0.8931 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.7639, allocations: 63.86 kB / 0.8931 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.764, allocations: 44.5 kB / 0.8932 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.7641, allocations: 27.98 kB / 0.8932 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006685/0.7647, allocations: 0.5421 MB / 0.8937 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7648, allocations: 0 / 0.8937 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003136/0.7679, allocations: 0.8849 MB / 0.8946 GB, free: 13.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.000543/0.7685, allocations: 251.3 kB / 0.8948 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.7705, allocations: 1.157 MB / 0.896 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7705, allocations: 4 kB / 0.896 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.7711, allocations: 363.1 kB / 0.8963 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.7733, allocations: 0.4891 MB / 0.8968 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.7775, allocations: 3.138 MB / 0.8999 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.7784, allocations: 1.197 MB / 0.901 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001231/0.7796, allocations: 371.8 kB / 0.9014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.7799, allocations: 87.42 kB / 0.9015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.7799, allocations: 4 kB / 0.9015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of Templates: time 0.034/0.8139, allocations: 20.07 MB / 0.9211 GB, free: 2.078 MB / 0.6511 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)