Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008479/0.0008479, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009264/0.0009263, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 270.8 kB / 291.3 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 17.31 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4476/0.5876, allocations: 180.2 MB / 0.8604 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.5998, allocations: 10.15 MB / 0.8704 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6008, allocations: 42.53 kB / 0.8704 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6019, allocations: 365.3 kB / 0.8707 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.6052, allocations: 1.321 MB / 0.872 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.6074, allocations: 0.8886 MB / 0.8729 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.6104, allocations: 3.193 MB / 0.876 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.6115, allocations: 0.8767 MB / 0.8769 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.6137, allocations: 1.232 MB / 0.8781 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.6148, allocations: 0.8933 MB / 0.8789 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.615, allocations: 55.59 kB / 0.879 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.617, allocations: 1.024 MB / 0.88 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.6175, allocations: 452.9 kB / 0.8804 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.6177, allocations: 281.6 kB / 0.8807 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.6193, allocations: 1.611 MB / 0.8823 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6193, allocations: 0 / 0.8823 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6193, allocations: 0 / 0.8823 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.6193, allocations: 0 / 0.8823 GB, free: 5.719 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.002189/0.6215, allocations: 1.476 MB / 0.8837 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.6216, allocations: 8.031 kB / 0.8837 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.6232, allocations: 318.1 kB / 0.884 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6248, allocations: 0.9061 MB / 0.8849 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.6249, allocations: 80.06 kB / 0.885 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.625, allocations: 100 kB / 0.8851 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.6268, allocations: 1.175 MB / 0.8862 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.6268, allocations: 4 kB / 0.8862 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.6269, allocations: 40 kB / 0.8863 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.627, allocations: 41.98 kB / 0.8863 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.6284, allocations: 0.929 MB / 0.8872 GB, free: 0.5195 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.004786/0.6332, allocations: 4.722 MB / 0.8918 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.6344, allocations: 0.7343 MB / 0.8926 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.635, allocations: 406.9 kB / 0.8929 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.6356, allocations: 324.7 kB / 0.8932 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.6356, allocations: 51.08 kB / 0.8933 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.6356, allocations: 0 / 0.8933 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.001815/0.6374, allocations: 1.017 MB / 0.8943 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6375, allocations: 59.91 kB / 0.8943 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.6384, allocations: 0.7908 MB / 0.8951 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.6384, allocations: 45.7 kB / 0.8952 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.6388, allocations: 0.5383 MB / 0.8957 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.639, allocations: 240.5 kB / 0.8959 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.6391, allocations: 12 kB / 0.8959 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6392, allocations: 341.9 kB / 0.8963 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.6397, allocations: 289.8 kB / 0.8965 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.6403, allocations: 0.5172 MB / 0.897 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.6409, allocations: 363 kB / 0.8974 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6409, allocations: 0 / 0.8974 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001379/0.6423, allocations: 0.9174 MB / 0.8983 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.6424, allocations: 228.5 kB / 0.8985 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6424, allocations: 4 kB / 0.8985 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6424, allocations: 8 kB / 0.8985 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.6433, allocations: 183.7 kB / 0.8987 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003403/0.6436, allocations: 0.6021 MB / 0.8993 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.6445, allocations: 135.2 kB / 0.8994 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.6445, allocations: 32 kB / 0.8994 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.6446, allocations: 7.953 kB / 0.8994 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.6458, allocations: 0.7998 MB / 0.9002 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6458, allocations: 8.594 kB / 0.9002 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6458, allocations: 9.375 kB / 0.9002 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.6465, allocations: 171.7 kB / 0.9004 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6465, allocations: 8 kB / 0.9004 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.6472, allocations: 127.2 kB / 0.9005 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.6473, allocations: 51.91 kB / 0.9006 GB, free: 2.137 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004643/0.6478, allocations: 393.5 kB / 0.901 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6479, allocations: 110.7 kB / 0.9011 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.6493, allocations: 0.806 MB / 0.9018 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.6493, allocations: 8 kB / 0.9019 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6493, allocations: 8.031 kB / 0.9019 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.6504, allocations: 0.8945 MB / 0.9027 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.6536, allocations: 2.171 MB / 0.9049 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6536, allocations: 8.031 kB / 0.9049 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.6543, allocations: 147.9 kB / 0.905 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6544, allocations: 8 kB / 0.905 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.6544, allocations: 23.92 kB / 0.905 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002781/0.6547, allocations: 0.5899 MB / 0.9056 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6547, allocations: 4.031 kB / 0.9056 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.6564, allocations: 1.299 MB / 0.9069 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.6568, allocations: 263.7 kB / 0.9071 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6569, allocations: 12 kB / 0.9071 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.6575, allocations: 71.83 kB / 0.9072 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.6576, allocations: 52.44 kB / 0.9073 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.6576, allocations: 24 kB / 0.9073 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006383/0.6583, allocations: 0.5382 MB / 0.9078 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6583, allocations: 0 / 0.9078 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00126/0.6595, allocations: 0.5648 MB / 0.9084 GB, free: 9.871 MB / 0.6231 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004873/0.66, allocations: 245.4 kB / 0.9086 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.6621, allocations: 1.168 MB / 0.9097 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6621, allocations: 0 / 0.9097 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.6626, allocations: 368.4 kB / 0.9101 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.6647, allocations: 0.4908 MB / 0.9106 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.6682, allocations: 2.79 MB / 0.9133 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.6689, allocations: 1.178 MB / 0.9144 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001062/0.67, allocations: 368.2 kB / 0.9148 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.6702, allocations: 79.42 kB / 0.9149 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.6702, allocations: 0 / 0.9149 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of Templates: time 0.0261/0.6963, allocations: 16.61 MB / 0.9311 GB, free: 2.816 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)