Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.161/2.161, allocations: 391.2 MB / 407 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.0011, allocations: 186.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 103.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 47.75 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2601, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2318/0.4919, allocations: 195.7 MB / 1.409 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.5085, allocations: 10.98 MB / 1.42 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.5103, allocations: 43.75 kB / 1.42 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.5123, allocations: 437.5 kB / 1.42 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.517, allocations: 1.688 MB / 1.422 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.5202, allocations: 1.05 MB / 1.423 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.5284/1.049, allocations: 3.751 MB / 1.427 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/1.051, allocations: 1.03 MB / 1.428 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/1.057, allocations: 1.471 MB / 1.429 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/1.06, allocations: 0.9777 MB / 1.43 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/1.061, allocations: 72.75 kB / 1.43 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/1.065, allocations: 1.915 MB / 1.432 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0009464/1.066, allocations: 477.7 kB / 1.433 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/1.068, allocations: 0.668 MB / 1.433 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/1.073, allocations: 2.367 MB / 1.436 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.073, allocations: 0 / 1.436 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/1.073, allocations: 3 kB / 1.436 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.238e-05/1.073, allocations: 0 / 1.436 GB, free: 3.461 MB / 0.9167 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.003672/1.077, allocations: 1.691 MB / 1.437 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.077, allocations: 13.67 kB / 1.437 GB, free: 18.58 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.079, allocations: 324.5 kB / 1.437 GB, free: 18.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/1.081, allocations: 0.8671 MB / 1.438 GB, free: 18.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/1.081, allocations: 78.19 kB / 1.438 GB, free: 18.16 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/1.081, allocations: 110.5 kB / 1.439 GB, free: 18.15 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/1.083, allocations: 1.172 MB / 1.44 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/1.083, allocations: 8.125 kB / 1.44 GB, free: 18.01 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.083, allocations: 40.34 kB / 1.44 GB, free: 18.01 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/1.083, allocations: 36.7 kB / 1.44 GB, free: 18.01 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.085, allocations: 0.9374 MB / 1.441 GB, free: 18 MB / 0.9323 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.005902/1.091, allocations: 4.718 MB / 1.445 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.092, allocations: 0.7131 MB / 1.446 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/1.093, allocations: 399.3 kB / 1.446 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/1.093, allocations: 316.5 kB / 1.447 GB, free: 15 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/1.093, allocations: 41.34 kB / 1.447 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 2.595e-06/1.093, allocations: 1.203 kB / 1.447 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.001904/1.095, allocations: 1.005 MB / 1.448 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.095, allocations: 65.33 kB / 1.448 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/1.096, allocations: 0.7945 MB / 1.449 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/1.096, allocations: 40.89 kB / 1.449 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.097, allocations: 0.5434 MB / 1.449 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.097, allocations: 242.2 kB / 1.449 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.097, allocations: 145.9 kB / 1.449 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.097, allocations: 336.4 kB / 1.45 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/1.098, allocations: 299.8 kB / 1.45 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/1.098, allocations: 0.4922 MB / 1.451 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/1.099, allocations: 0.7987 MB / 1.451 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.099, allocations: 2.219 kB / 1.451 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001331/1.1, allocations: 0.9043 MB / 1.452 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.1, allocations: 7.375 kB / 1.452 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.1, allocations: 4.469 kB / 1.452 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.1, allocations: 12.47 kB / 1.452 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/1.101, allocations: 180 kB / 1.452 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003501/1.102, allocations: 0.6042 MB / 1.453 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/1.103, allocations: 137.1 kB / 1.453 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/1.103, allocations: 31.52 kB / 1.453 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008278/1.104, allocations: 0.5503 MB / 1.454 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005178/1.104, allocations: 0.493 MB / 1.454 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008906/1.105, allocations: 0.7896 MB / 1.455 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.105, allocations: 0 / 1.455 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00122/1.106, allocations: 0.9099 MB / 1.456 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.106, allocations: 9.125 kB / 1.456 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.106, allocations: 4.875 kB / 1.456 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/1.106, allocations: 12.12 kB / 1.456 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.107, allocations: 169.4 kB / 1.456 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.107, allocations: 19.55 kB / 1.456 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/1.108, allocations: 115.4 kB / 1.456 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/1.108, allocations: 34.53 kB / 1.456 GB, free: 12.13 MB / 0.9323 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.0002328/1.108, allocations: 233.4 kB / 1.456 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.108, allocations: 102.6 kB / 1.456 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/1.11, allocations: 0.7933 MB / 1.457 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.11, allocations: 5.781 kB / 1.457 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.11, allocations: 0 / 1.457 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009239/1.111, allocations: 0.8755 MB / 1.458 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.114, allocations: 2.153 MB / 1.46 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.114, allocations: 3.25 kB / 1.46 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/1.114, allocations: 144.1 kB / 1.46 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.115, allocations: 9.078 kB / 1.46 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/1.115, allocations: 21.72 kB / 1.46 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/1.115, allocations: 0.5908 MB / 1.461 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/1.115, allocations: 7.031 kB / 1.461 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.13, allocations: 7.913 MB / 1.469 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/1.131, allocations: 254.3 kB / 1.469 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.131, allocations: 15.75 kB / 1.469 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/1.131, allocations: 70.94 kB / 1.469 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.131, allocations: 46.61 kB / 1.469 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.132, allocations: 29.38 kB / 1.469 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009072/1.132, allocations: 0.5405 MB / 1.47 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.242e-06/1.132, allocations: 2.344 kB / 1.47 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003716/1.136, allocations: 0.8781 MB / 1.471 GB, free: 8.473 MB / 0.9323 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.00078/1.137, allocations: 254.3 kB / 1.471 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002245/1.139, allocations: 1.157 MB / 1.472 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.139, allocations: 0 / 1.472 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/1.14, allocations: 368.6 kB / 1.472 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.142, allocations: 483.4 kB / 1.473 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/1.147, allocations: 3.158 MB / 1.476 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/1.147, allocations: 1.208 MB / 1.477 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001376/1.149, allocations: 373.6 kB / 1.477 GB, free: 5.859 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/1.149, allocations: 89.45 kB / 1.477 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of SimCode: time 8.61e-07/1.149, allocations: 0 / 1.477 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of Templates: time 0.03448/1.183, allocations: 20.03 MB / 1.497 GB, free: 2.934 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)