Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.0009937/0.0009937, allocations: 192 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7673/0.7673, allocations: 122.9 MB / 413.6 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.91 kB / 0.4906 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 77.92 MB / 0.5667 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.582/0.9436, allocations: 195.4 MB / 0.7575 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.9597, allocations: 10.82 MB / 0.7681 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.9619, allocations: 42.12 kB / 0.7681 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.9637, allocations: 465 kB / 0.7686 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.969, allocations: 1.67 MB / 0.7702 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.9724, allocations: 1.064 MB / 0.7712 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.9769, allocations: 2.788 MB / 0.774 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.9789, allocations: 1.168 MB / 0.7751 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.9851, allocations: 1.609 MB / 0.7767 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.9884, allocations: 1.005 MB / 0.7777 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.9888, allocations: 124.9 kB / 0.7778 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.9931, allocations: 1.78 MB / 0.7795 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.9939, allocations: 0.5199 MB / 0.78 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.995, allocations: 0.716 MB / 0.7807 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.9995, allocations: 2.427 MB / 0.7831 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9995, allocations: 0.9688 kB / 0.7831 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9995, allocations: 0 / 0.7831 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.334e-05/0.9996, allocations: 0 / 0.7831 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002817/1.002, allocations: 1.695 MB / 0.7847 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.002, allocations: 7.969 kB / 0.7847 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/1.004, allocations: 322 kB / 0.7851 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/1.006, allocations: 0.8687 MB / 0.7859 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/1.006, allocations: 77.97 kB / 0.786 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.006, allocations: 102.9 kB / 0.7861 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.008, allocations: 1.176 MB / 0.7872 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.008, allocations: 0.7812 kB / 0.7872 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/1.008, allocations: 42.41 kB / 0.7873 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/1.008, allocations: 43.38 kB / 0.7873 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/1.009, allocations: 0.9354 MB / 0.7882 GB, free: 15.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.004957/1.014, allocations: 4.716 MB / 0.7928 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.015, allocations: 0.7232 MB / 0.7935 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/1.016, allocations: 396.8 kB / 0.7939 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.016, allocations: 315.6 kB / 0.7942 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/1.016, allocations: 44.2 kB / 0.7943 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/1.016, allocations: 0.875 kB / 0.7943 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.001817/1.018, allocations: 1.002 MB / 0.7952 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.018, allocations: 60.72 kB / 0.7953 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/1.019, allocations: 0.7977 MB / 0.7961 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/1.019, allocations: 41.3 kB / 0.7961 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/1.02, allocations: 0.5349 MB / 0.7966 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/1.02, allocations: 246.9 kB / 0.7969 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.02, allocations: 150.8 kB / 0.797 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.02, allocations: 337.4 kB / 0.7973 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/1.021, allocations: 299.5 kB / 0.7976 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/1.021, allocations: 0.4944 MB / 0.7981 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/1.022, allocations: 0.7893 MB / 0.7989 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.022, allocations: 3.969 kB / 0.7989 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00153/1.024, allocations: 0.9025 MB / 0.7998 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.024, allocations: 9.125 kB / 0.7998 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.024, allocations: 4.75 kB / 0.7998 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.024, allocations: 8.594 kB / 0.7998 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/1.025, allocations: 181.3 kB / 0.8 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/1.025, allocations: 0.6049 MB / 0.8005 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.026, allocations: 139.7 kB / 0.8007 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/1.026, allocations: 33.84 kB / 0.8007 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001003/1.028, allocations: 0.5426 MB / 0.8012 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006035/1.028, allocations: 0.4971 MB / 0.8017 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/1.029, allocations: 0.7887 MB / 0.8025 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.029, allocations: 160 / 0.8025 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001316/1.03, allocations: 0.9145 MB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.031, allocations: 14.31 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.031, allocations: 9.812 kB / 0.8034 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/1.031, allocations: 8.438 kB / 0.8034 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/1.031, allocations: 169.3 kB / 0.8036 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.031, allocations: 9.953 kB / 0.8036 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.032, allocations: 127.8 kB / 0.8037 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/1.032, allocations: 32.69 kB / 0.8037 GB, free: 10 MB / 0.5919 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.0003025/1.033, allocations: 225.5 kB / 0.804 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/1.033, allocations: 102.2 kB / 0.8041 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/1.034, allocations: 0.787 MB / 0.8048 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.034, allocations: 10.91 kB / 0.8048 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.034, allocations: 0 / 0.8048 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/1.035, allocations: 0.8789 MB / 0.8057 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/1.039, allocations: 2.144 MB / 0.8078 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.039, allocations: 2.562 kB / 0.8078 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/1.04, allocations: 150.6 kB / 0.8079 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/1.04, allocations: 6.844 kB / 0.8079 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/1.04, allocations: 21.83 kB / 0.808 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/1.04, allocations: 0.5953 MB / 0.8085 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.04, allocations: 3.031 kB / 0.8085 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/1.042, allocations: 1.283 MB / 0.8098 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/1.042, allocations: 261.6 kB / 0.81 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.043, allocations: 15.25 kB / 0.8101 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/1.043, allocations: 67.61 kB / 0.8101 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/1.043, allocations: 46.53 kB / 0.8102 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/1.043, allocations: 24.16 kB / 0.8102 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007068/1.044, allocations: 0.5489 MB / 0.8107 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 0.8107 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001608/1.046, allocations: 0.564 MB / 0.8113 GB, free: 7.605 MB / 0.5919 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0006162/1.046, allocations: 242.1 kB / 0.8115 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.049, allocations: 1.296 MB / 0.8128 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.049, allocations: 2.875 kB / 0.8128 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005723/1.049, allocations: 372.7 kB / 0.8131 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.052, allocations: 498.4 kB / 0.8136 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/1.056, allocations: 2.725 MB / 0.8163 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/1.057, allocations: 1.171 MB / 0.8174 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0014/1.058, allocations: 351.1 kB / 0.8177 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.058, allocations: 80.83 kB / 0.8178 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of SimCode: time 2.134e-06/1.058, allocations: 0 / 0.8178 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of Templates: time 0.03068/1.089, allocations: 17.4 MB / 0.8348 GB, free: 7.602 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)