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.001236/0.001236, allocations: 109.7 kB / 16.41 MB, free: 6.461 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.00123/0.00123, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 292.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 87.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3589, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5577/0.9167, allocations: 198 MB / 0.9604 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.9282, allocations: 10.9 MB / 0.9711 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.9293, allocations: 45.78 kB / 0.9711 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.9306, allocations: 0.5276 MB / 0.9716 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.9339, allocations: 1.793 MB / 0.9734 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.9363, allocations: 1.175 MB / 0.9745 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.9385, allocations: 2.777 MB / 0.9772 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.9397, allocations: 1.207 MB / 0.9784 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.9424, allocations: 1.631 MB / 0.98 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.9434, allocations: 0.9658 MB / 0.9809 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.9436, allocations: 125.9 kB / 0.9811 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.9458, allocations: 1.713 MB / 0.9827 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.9462, allocations: 0.5202 MB / 0.9832 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.9467, allocations: 0.7131 MB / 0.9839 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.9489, allocations: 2.368 MB / 0.9863 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9489, allocations: 0.8125 kB / 0.9863 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9489, allocations: 3.094 kB / 0.9863 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.9489, allocations: 0.9375 kB / 0.9863 GB, free: 1.344 MB / 0.7169 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.002092/0.951, allocations: 1.692 MB / 0.9879 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.9511, allocations: 9.375 kB / 0.9879 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.9527, allocations: 317.3 kB / 0.9882 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.9539, allocations: 0.9182 MB / 0.9891 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.954, allocations: 79.41 kB / 0.9892 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.9541, allocations: 101.7 kB / 0.9893 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.9556, allocations: 1.186 MB / 0.9904 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.9557, allocations: 0.8125 kB / 0.9904 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.9557, allocations: 41.22 kB / 0.9905 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.9558, allocations: 34.66 kB / 0.9905 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.957, allocations: 0.9403 MB / 0.9914 GB, free: 15.89 MB / 0.7325 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.004168/0.9612, allocations: 4.719 MB / 0.996 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.9623, allocations: 0.7137 MB / 0.9967 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.9627, allocations: 395.1 kB / 0.9971 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.9633, allocations: 318.4 kB / 0.9974 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.9633, allocations: 47.38 kB / 0.9975 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 1.954e-06/0.9633, allocations: 0 / 0.9975 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001621/0.965, allocations: 0.9974 MB / 0.9984 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.965, allocations: 61.09 kB / 0.9985 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.9659, allocations: 0.798 MB / 0.9993 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.9659, allocations: 42.33 kB / 0.9993 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.9663, allocations: 0.5291 MB / 0.9998 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.9665, allocations: 250 kB / 1 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.9667, allocations: 149.8 kB / 1 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9668, allocations: 342.9 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.9672, allocations: 296.4 kB / 1.001 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.9678, allocations: 0.4932 MB / 1.001 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.9687, allocations: 0.7932 MB / 1.002 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9688, allocations: 1.906 kB / 1.002 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001177/0.9699, allocations: 0.9044 MB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.97, allocations: 7.438 kB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.97, allocations: 6.75 kB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.97, allocations: 7.594 kB / 1.003 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.9708, allocations: 189 kB / 1.003 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003792/0.9712, allocations: 0.6066 MB / 1.004 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.9719, allocations: 81.48 kB / 1.004 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.9719, allocations: 34.3 kB / 1.004 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006896/0.9726, allocations: 0.5463 MB / 1.004 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005293/0.9732, allocations: 0.4955 MB / 1.005 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009254/0.9741, allocations: 0.7857 MB / 1.006 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.9741, allocations: 0.875 kB / 1.006 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001165/0.9753, allocations: 0.9054 MB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.9753, allocations: 7.844 kB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9753, allocations: 6.531 kB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.9753, allocations: 13.69 kB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.9759, allocations: 164.5 kB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.9759, allocations: 14.47 kB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.9766, allocations: 76.95 kB / 1.007 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.9767, allocations: 31.38 kB / 1.007 GB, free: 10.09 MB / 0.7325 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.0001802/0.9768, allocations: 225.9 kB / 1.007 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.977, allocations: 100 kB / 1.007 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.9781, allocations: 0.7921 MB / 1.008 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009249/0.9791, allocations: 0.8785 MB / 1.009 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9791, allocations: 3.938 kB / 1.009 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.9794, allocations: 256.8 kB / 1.009 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.9795, allocations: 13.56 kB / 1.009 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.98, allocations: 20.41 kB / 1.009 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.9801, allocations: 39.33 kB / 1.009 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001593/0.9817, allocations: 0.86 MB / 1.01 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001508/0.9832, allocations: 1.327 MB / 1.011 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003815/0.9836, allocations: 341.6 kB / 1.012 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005741/0.9842, allocations: 0.5404 MB / 1.012 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of Backend: time 5.51e-07/0.9842, allocations: 0.9062 kB / 1.012 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.9869, allocations: 1.351 MB / 1.013 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004022/0.991, allocations: 2.782 MB / 1.016 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.03432/1.025, allocations: 24.02 MB / 1.04 GB, free: 11.59 MB / 0.7481 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)