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.001042/0.001041, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001172/0.001172, allocations: 179.9 kB / 17.58 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.35/1.35, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7547/0.7547, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 12 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4013, allocations: 77.52 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2202/0.6216, allocations: 193.1 MB / 0.7492 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3804/1.002, allocations: 10.82 MB / 0.7597 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.004, allocations: 38.72 kB / 0.7598 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.006, allocations: 439 kB / 0.7602 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005242/1.011, allocations: 1.684 MB / 0.7618 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/1.014, allocations: 1.048 MB / 0.7629 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006291/1.021, allocations: 3.74 MB / 0.7665 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/1.023, allocations: 1.002 MB / 0.7675 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/1.028, allocations: 1.422 MB / 0.7689 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.031, allocations: 0.931 MB / 0.7698 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003333/1.031, allocations: 53.5 kB / 0.7698 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/1.036, allocations: 1.9 MB / 0.7717 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007829/1.037, allocations: 443.5 kB / 0.7721 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/1.038, allocations: 0.6528 MB / 0.7728 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002741/1.041, allocations: 1.699 MB / 0.7744 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.041, allocations: 0 / 0.7744 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/1.041, allocations: 7.406 kB / 0.7744 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.886e-05/1.041, allocations: 1.25 kB / 0.7744 GB, free: 17.57 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002934/1.044, allocations: 1.44 MB / 0.7758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.044, allocations: 13.66 kB / 0.7758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.046, allocations: 319 kB / 0.7762 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/1.048, allocations: 0.8692 MB / 0.777 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/1.048, allocations: 77.62 kB / 0.7771 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.048, allocations: 110.3 kB / 0.7772 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/1.05, allocations: 1.177 MB / 0.7783 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/1.05, allocations: 2.625 kB / 0.7783 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.05, allocations: 40.28 kB / 0.7784 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/1.05, allocations: 43.42 kB / 0.7784 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/1.052, allocations: 0.9364 MB / 0.7793 GB, free: 16.13 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.006553/1.059, allocations: 4.711 MB / 0.7839 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/1.06, allocations: 0.7336 MB / 0.7846 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/1.06, allocations: 400.2 kB / 0.785 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/1.061, allocations: 331.2 kB / 0.7853 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.061, allocations: 37.75 kB / 0.7854 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 3.367e-06/1.061, allocations: 1.859 kB / 0.7854 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.002014/1.063, allocations: 1.007 MB / 0.7864 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.063, allocations: 57.81 kB / 0.7864 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.064, allocations: 0.791 MB / 0.7872 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-05/1.064, allocations: 39.52 kB / 0.7872 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.065, allocations: 0.5407 MB / 0.7878 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.065, allocations: 242.7 kB / 0.788 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.065, allocations: 71.36 kB / 0.7881 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.065, allocations: 340.8 kB / 0.7884 GB, free: 12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/1.066, allocations: 288.7 kB / 0.7887 GB, free: 12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/1.066, allocations: 0.4952 MB / 0.7891 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.067, allocations: 0.7925 MB / 0.7899 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.067, allocations: 2.5 kB / 0.7899 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001476/1.069, allocations: 0.9048 MB / 0.7908 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.069, allocations: 234.3 kB / 0.791 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.069, allocations: 5.094 kB / 0.791 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.069, allocations: 10.16 kB / 0.791 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/1.07, allocations: 182.8 kB / 0.7912 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00039/1.07, allocations: 0.6055 MB / 0.7918 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.072, allocations: 145 kB / 0.7919 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/1.072, allocations: 33.44 kB / 0.792 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/1.072, allocations: 6.438 kB / 0.792 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/1.073, allocations: 0.7902 MB / 0.7927 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.073, allocations: 3.312 kB / 0.7928 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/1.073, allocations: 8.25 kB / 0.7928 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/1.073, allocations: 166.9 kB / 0.7929 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.074, allocations: 13.11 kB / 0.7929 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.075, allocations: 128 kB / 0.7931 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/1.075, allocations: 36.2 kB / 0.7931 GB, free: 10.55 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.0007812/1.075, allocations: 408.7 kB / 0.7935 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.076, allocations: 101.1 kB / 0.7936 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.077, allocations: 0.7827 MB / 0.7943 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.077, allocations: 8.094 kB / 0.7943 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.077, allocations: 0 / 0.7943 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009805/1.078, allocations: 0.883 MB / 0.7952 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/1.082, allocations: 2.155 MB / 0.7973 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.082, allocations: 5.156 kB / 0.7973 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/1.082, allocations: 153.2 kB / 0.7975 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.082, allocations: 9.125 kB / 0.7975 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/1.083, allocations: 23.36 kB / 0.7975 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000301/1.083, allocations: 0.5889 MB / 0.7981 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.083, allocations: 2.906 kB / 0.7981 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.085, allocations: 1.29 MB / 0.7993 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/1.085, allocations: 255.1 kB / 0.7996 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.085, allocations: 24.47 kB / 0.7996 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/1.086, allocations: 68.53 kB / 0.7997 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/1.086, allocations: 45.56 kB / 0.7997 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.086, allocations: 31.66 kB / 0.7997 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007016/1.087, allocations: 0.5431 MB / 0.8003 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.087, allocations: 0 / 0.8003 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001525/1.088, allocations: 0.5658 MB / 0.8008 GB, free: 8.105 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.0006028/1.089, allocations: 223.7 kB / 0.801 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.091, allocations: 1.161 MB / 0.8022 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.091, allocations: 1.969 kB / 0.8022 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/1.091, allocations: 365.7 kB / 0.8025 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.094, allocations: 0.4887 MB / 0.803 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/1.099, allocations: 2.908 MB / 0.8058 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/1.099, allocations: 1.172 MB / 0.807 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.1, allocations: 90.67 kB / 0.8071 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.1, allocations: 0 / 0.8071 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of Templates: time 0.03169/1.131, allocations: 21.02 MB / 0.8276 GB, free: 9.578 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)