Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008568/0.000857, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009441/0.0009443, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 15.03 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6304/0.857, allocations: 180.2 MB / 0.9633 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.8692, allocations: 10.12 MB / 0.9731 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.8707, allocations: 38.47 kB / 0.9732 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.8721, allocations: 374.8 kB / 0.9735 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.8757, allocations: 1.32 MB / 0.9748 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.8781, allocations: 0.8777 MB / 0.9757 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.8815, allocations: 3.169 MB / 0.9788 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.8828, allocations: 0.8787 MB / 0.9796 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.8853, allocations: 1.23 MB / 0.9808 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.8864, allocations: 0.8944 MB / 0.9817 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.8866, allocations: 52.34 kB / 0.9818 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.889, allocations: 1.033 MB / 0.9828 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.8894, allocations: 451.6 kB / 0.9832 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.8898, allocations: 272.8 kB / 0.9835 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.8917, allocations: 1.62 MB / 0.985 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8917, allocations: 2.125 kB / 0.985 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8917, allocations: 0 / 0.985 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.8917, allocations: 0 / 0.985 GB, free: 16.92 MB / 0.7325 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.002257/0.894, allocations: 1.462 MB / 0.9865 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8941, allocations: 8.328 kB / 0.9865 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.8956, allocations: 320.5 kB / 0.9868 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.8972, allocations: 0.8869 MB / 0.9876 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.8972, allocations: 85.47 kB / 0.9877 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.8973, allocations: 103.7 kB / 0.9878 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.899, allocations: 1.169 MB / 0.989 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.899, allocations: 7.062 kB / 0.989 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.8991, allocations: 39.62 kB / 0.989 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.8992, allocations: 40.95 kB / 0.989 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.9005, allocations: 0.9289 MB / 0.99 GB, free: 14.76 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.005001/0.9055, allocations: 4.722 MB / 0.9946 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.9065, allocations: 0.7328 MB / 0.9953 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.907, allocations: 398.6 kB / 0.9957 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.9075, allocations: 327.1 kB / 0.996 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9076, allocations: 46.88 kB / 0.996 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 1.934e-06/0.9076, allocations: 1.859 kB / 0.996 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.001669/0.9092, allocations: 1.013 MB / 0.997 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.9093, allocations: 58.44 kB / 0.9971 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.9101, allocations: 0.7831 MB / 0.9978 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.9102, allocations: 41.42 kB / 0.9979 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.9105, allocations: 0.5466 MB / 0.9984 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.9107, allocations: 244.5 kB / 0.9986 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.9108, allocations: 16.03 kB / 0.9987 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9109, allocations: 337.7 kB / 0.999 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.9113, allocations: 294.6 kB / 0.9993 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.9119, allocations: 0.5135 MB / 0.9998 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.9124, allocations: 371 kB / 1 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9124, allocations: 0 / 1 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001336/0.9138, allocations: 0.9108 MB / 1.001 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.914, allocations: 226.1 kB / 1.001 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.914, allocations: 8.078 kB / 1.001 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.914, allocations: 8.25 kB / 1.001 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.9148, allocations: 183.6 kB / 1.001 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/0.9152, allocations: 0.5962 MB / 1.002 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/0.9162, allocations: 136.4 kB / 1.002 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.9163, allocations: 32.31 kB / 1.002 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.9163, allocations: 2.688 kB / 1.002 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/0.9174, allocations: 0.7978 MB / 1.003 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9174, allocations: 5.812 kB / 1.003 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.9174, allocations: 8.219 kB / 1.003 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.918, allocations: 173.1 kB / 1.003 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.918, allocations: 6.156 kB / 1.003 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.9188, allocations: 127.4 kB / 1.003 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.9188, allocations: 36.27 kB / 1.003 GB, free: 7.676 MB / 0.7325 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.0006119/0.9194, allocations: 411.4 kB / 1.004 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.9196, allocations: 95.66 kB / 1.004 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.9209, allocations: 0.8159 MB / 1.005 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.9209, allocations: 8.656 kB / 1.005 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.9209, allocations: 0 / 1.005 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009291/0.9218, allocations: 0.8812 MB / 1.005 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.9248, allocations: 2.17 MB / 1.008 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.9249, allocations: 6.797 kB / 1.008 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.9255, allocations: 151.5 kB / 1.008 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.9255, allocations: 6.188 kB / 1.008 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.9256, allocations: 21.23 kB / 1.008 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003061/0.9259, allocations: 0.6055 MB / 1.008 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9259, allocations: 1.781 kB / 1.008 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.9275, allocations: 1.33 MB / 1.01 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.9279, allocations: 262.1 kB / 1.01 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.928, allocations: 20.41 kB / 1.01 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.9286, allocations: 69.94 kB / 1.01 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.9287, allocations: 53.27 kB / 1.01 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.9287, allocations: 20.91 kB / 1.01 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006141/0.9294, allocations: 0.5365 MB / 1.011 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9294, allocations: 4 kB / 1.011 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001497/0.9309, allocations: 0.5668 MB / 1.011 GB, free: 4.293 MB / 0.7325 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.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0005122/0.9314, allocations: 228 kB / 1.011 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.9333, allocations: 1.168 MB / 1.012 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9333, allocations: 0 / 1.012 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.9339, allocations: 376.3 kB / 1.013 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.936, allocations: 492.5 kB / 1.013 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.9399, allocations: 2.769 MB / 1.016 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/0.9408, allocations: 1.169 MB / 1.017 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001304/0.9421, allocations: 360.1 kB / 1.017 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.9424, allocations: 87.72 kB / 1.018 GB, free: 1 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9424, allocations: 0 / 1.018 GB, free: 1 MB / 0.7325 GB Notification: Performance of Templates: time 0.02718/0.9696, allocations: 16.65 MB / 1.034 GB, free: 4.309 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) Environment - environmentSimulation: