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.001141/0.001141, allocations: 102 kB / 15.98 MB, free: 6.344 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.001116/0.001116, allocations: 195.6 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7842/0.7842, allocations: 126 MB / 416.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4945 GB, free: 3.883 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3919, allocations: 78.71 MB / 0.5713 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5961/0.988, allocations: 195.4 MB / 0.7621 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0154/1.003, allocations: 10.83 MB / 0.7727 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/1.006, allocations: 42.38 kB / 0.7728 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/1.007, allocations: 466.4 kB / 0.7732 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004446/1.012, allocations: 1.676 MB / 0.7748 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/1.015, allocations: 1.062 MB / 0.7759 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00371/1.019, allocations: 2.773 MB / 0.7786 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/1.02, allocations: 1.166 MB / 0.7797 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/1.025, allocations: 1.613 MB / 0.7813 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/1.027, allocations: 1.015 MB / 0.7823 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/1.027, allocations: 125 kB / 0.7824 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/1.031, allocations: 1.773 MB / 0.7841 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006377/1.031, allocations: 0.5217 MB / 0.7847 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/1.033, allocations: 0.7116 MB / 0.7854 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/1.036, allocations: 2.425 MB / 0.7877 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.036, allocations: 0 / 0.7877 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.103e-06/1.036, allocations: 1.031 kB / 0.7877 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.516e-05/1.036, allocations: 0 / 0.7877 GB, free: 1.156 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.002912/1.039, allocations: 1.695 MB / 0.7894 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.039, allocations: 11.09 kB / 0.7894 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/1.041, allocations: 317.8 kB / 0.7897 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.043, allocations: 0.8641 MB / 0.7905 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/1.043, allocations: 80.75 kB / 0.7906 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.043, allocations: 100.8 kB / 0.7907 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.045, allocations: 1.176 MB / 0.7919 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/1.045, allocations: 6.281 kB / 0.7919 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/1.045, allocations: 45.5 kB / 0.7919 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/1.045, allocations: 33.91 kB / 0.7919 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.046, allocations: 0.9394 MB / 0.7929 GB, free: 15.7 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.005286/1.051, allocations: 4.715 MB / 0.7975 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.053, allocations: 0.7208 MB / 0.7982 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/1.053, allocations: 397.8 kB / 0.7985 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/1.054, allocations: 319.6 kB / 0.7988 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.054, allocations: 41.69 kB / 0.7989 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 2.445e-06/1.054, allocations: 2.688 kB / 0.7989 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.001848/1.056, allocations: 1.003 MB / 0.7999 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/1.056, allocations: 61.56 kB / 0.7999 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/1.057, allocations: 0.7978 MB / 0.8007 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/1.057, allocations: 42.52 kB / 0.8007 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/1.057, allocations: 0.5305 MB / 0.8013 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/1.057, allocations: 244.1 kB / 0.8015 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/1.057, allocations: 151.7 kB / 0.8016 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.058, allocations: 336.2 kB / 0.802 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/1.058, allocations: 304.2 kB / 0.8023 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/1.059, allocations: 0.4955 MB / 0.8027 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/1.06, allocations: 0.7899 MB / 0.8035 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.06, allocations: 1 kB / 0.8035 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001281/1.061, allocations: 0.9048 MB / 0.8044 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.061, allocations: 18.53 kB / 0.8044 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.061, allocations: 3.594 kB / 0.8044 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.061, allocations: 10.94 kB / 0.8044 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/1.062, allocations: 179.7 kB / 0.8046 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003658/1.062, allocations: 0.599 MB / 0.8052 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/1.063, allocations: 140.1 kB / 0.8053 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/1.063, allocations: 37 kB / 0.8053 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007642/1.064, allocations: 0.5429 MB / 0.8059 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006007/1.064, allocations: 0.4915 MB / 0.8064 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/1.066, allocations: 0.7899 MB / 0.8071 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/1.066, allocations: 7.125 kB / 0.8071 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001299/1.067, allocations: 0.9065 MB / 0.808 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.067, allocations: 8.875 kB / 0.808 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.067, allocations: 3.188 kB / 0.808 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/1.067, allocations: 11.53 kB / 0.808 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/1.068, allocations: 163.9 kB / 0.8082 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.068, allocations: 12.61 kB / 0.8082 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/1.068, allocations: 122 kB / 0.8083 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.069, allocations: 33.67 kB / 0.8084 GB, free: 9.852 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.000227/1.069, allocations: 235 kB / 0.8086 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.069, allocations: 100.8 kB / 0.8087 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/1.07, allocations: 0.7907 MB / 0.8095 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.07, allocations: 7.906 kB / 0.8095 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.07, allocations: 4 kB / 0.8095 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009712/1.071, allocations: 0.8759 MB / 0.8103 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/1.074, allocations: 2.144 MB / 0.8124 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.074, allocations: 2.625 kB / 0.8124 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/1.075, allocations: 147.8 kB / 0.8126 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.075, allocations: 9.719 kB / 0.8126 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.075, allocations: 21.66 kB / 0.8126 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/1.075, allocations: 0.5915 MB / 0.8132 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.075, allocations: 8.469 kB / 0.8132 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/1.077, allocations: 1.285 MB / 0.8144 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/1.077, allocations: 253.8 kB / 0.8147 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.078, allocations: 18.45 kB / 0.8147 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/1.078, allocations: 68.14 kB / 0.8148 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/1.078, allocations: 51.53 kB / 0.8148 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/1.078, allocations: 21.34 kB / 0.8148 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005907/1.079, allocations: 0.5462 MB / 0.8154 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 0 / 0.8154 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001326/1.08, allocations: 0.5684 MB / 0.8159 GB, free: 7.453 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.0004962/1.081, allocations: 247.8 kB / 0.8161 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002215/1.083, allocations: 1.295 MB / 0.8174 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/1.083, allocations: 2.406 kB / 0.8174 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/1.084, allocations: 364.6 kB / 0.8178 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.086, allocations: 494.5 kB / 0.8182 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/1.089, allocations: 2.728 MB / 0.8209 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/1.09, allocations: 1.179 MB / 0.822 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001089/1.091, allocations: 356.3 kB / 0.8224 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.091, allocations: 81.41 kB / 0.8225 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/1.091, allocations: 0 / 0.8225 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.03014/1.121, allocations: 17.38 MB / 0.8394 GB, free: 5.973 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)