Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 174.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007231/0.0007233, allocations: 95.84 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003741, allocations: 16.56 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7648/1.007, allocations: 180.4 MB / 1.077 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01598/1.023, allocations: 10.22 MB / 1.087 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/1.025, allocations: 37.34 kB / 1.087 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.027, allocations: 378.8 kB / 1.087 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00452/1.031, allocations: 1.33 MB / 1.089 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/1.034, allocations: 0.8896 MB / 1.09 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00528/1.04, allocations: 3.238 MB / 1.093 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/1.042, allocations: 0.8935 MB / 1.094 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/1.046, allocations: 1.249 MB / 1.095 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/1.049, allocations: 0.9079 MB / 1.096 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/1.049, allocations: 54.62 kB / 1.096 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/1.053, allocations: 1.035 MB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006129/1.054, allocations: 456.8 kB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/1.055, allocations: 276.7 kB / 1.097 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/1.058, allocations: 1.646 MB / 1.099 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.058, allocations: 0 / 1.099 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.484e-06/1.058, allocations: 4 kB / 1.099 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.79e-05/1.058, allocations: 0 / 1.099 GB, free: 19.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002974/1.061, allocations: 1.461 MB / 1.101 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.061, allocations: 9.656 kB / 1.101 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/1.063, allocations: 328.4 kB / 1.101 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/1.065, allocations: 0.898 MB / 1.102 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/1.065, allocations: 82.42 kB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/1.065, allocations: 106.2 kB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/1.067, allocations: 1.172 MB / 1.103 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/1.067, allocations: 0 / 1.103 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.067, allocations: 45.41 kB / 1.103 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/1.068, allocations: 40.97 kB / 1.103 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.069, allocations: 0.9438 MB / 1.104 GB, free: 18.07 MB / 0.7136 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.005521/1.075, allocations: 4.531 MB / 1.108 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.076, allocations: 0.7482 MB / 1.109 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/1.077, allocations: 410.3 kB / 1.11 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/1.077, allocations: 327.8 kB / 1.11 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.077, allocations: 44.11 kB / 1.11 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.106e-06/1.077, allocations: 0 / 1.11 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.001971/1.079, allocations: 1.052 MB / 1.111 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.079, allocations: 66 kB / 1.111 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/1.08, allocations: 0.7753 MB / 1.112 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/1.08, allocations: 43.3 kB / 1.112 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/1.081, allocations: 0.5228 MB / 1.112 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/1.081, allocations: 256.3 kB / 1.113 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.081, allocations: 16.66 kB / 1.113 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.081, allocations: 337.4 kB / 1.113 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/1.082, allocations: 302.2 kB / 1.113 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/1.082, allocations: 0.4973 MB / 1.114 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/1.083, allocations: 376.9 kB / 1.114 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.083, allocations: 0 / 1.114 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001336/1.084, allocations: 0.9153 MB / 1.115 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.084, allocations: 213.4 kB / 1.115 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.084, allocations: 9.281 kB / 1.115 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.084, allocations: 6.469 kB / 1.115 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/1.085, allocations: 189.4 kB / 1.115 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004147/1.086, allocations: 0.5989 MB / 1.116 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/1.086, allocations: 131.5 kB / 1.116 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/1.087, allocations: 34.5 kB / 1.116 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/1.087, allocations: 2.938 kB / 1.116 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00116/1.088, allocations: 0.8069 MB / 1.117 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.088, allocations: 5.094 kB / 1.117 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/1.088, allocations: 10.08 kB / 1.117 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/1.088, allocations: 176.2 kB / 1.117 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.088, allocations: 12.83 kB / 1.117 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/1.089, allocations: 123.8 kB / 1.117 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/1.089, allocations: 35.64 kB / 1.117 GB, free: 12.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (99): * Single equations (assignments): 98 * 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.0005721/1.09, allocations: 404.1 kB / 1.118 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.09, allocations: 106 kB / 1.118 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.091, allocations: 0.8364 MB / 1.119 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.091, allocations: 6.438 kB / 1.119 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.091, allocations: 1.859 kB / 1.119 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/1.092, allocations: 0.9034 MB / 1.119 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/1.096, allocations: 2.208 MB / 1.122 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.096, allocations: 2.656 kB / 1.122 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/1.097, allocations: 164.1 kB / 1.122 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/1.097, allocations: 9.375 kB / 1.122 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/1.097, allocations: 20.56 kB / 1.122 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003491/1.097, allocations: 0.592 MB / 1.122 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.097, allocations: 13.84 kB / 1.122 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.099, allocations: 1.358 MB / 1.124 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/1.099, allocations: 272.4 kB / 1.124 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.099, allocations: 15.19 kB / 1.124 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/1.1, allocations: 73.53 kB / 1.124 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/1.1, allocations: 49.53 kB / 1.124 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/1.1, allocations: 26.17 kB / 1.124 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007603/1.101, allocations: 0.5346 MB / 1.125 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.101, allocations: 0 / 1.125 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001727/1.102, allocations: 0.5721 MB / 1.125 GB, free: 10.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,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 (72): * Single equations (assignments): 71 * 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.0006643/1.103, allocations: 245.4 kB / 1.125 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002602/1.106, allocations: 1.194 MB / 1.127 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.106, allocations: 0 / 1.127 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/1.106, allocations: 377.4 kB / 1.127 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.108, allocations: 0.4932 MB / 1.127 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/1.113, allocations: 2.962 MB / 1.13 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/1.113, allocations: 1.176 MB / 1.131 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.114, allocations: 93.78 kB / 1.132 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.114, allocations: 0 / 1.132 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.02969/1.143, allocations: 21.42 MB / 1.152 GB, free: 13.34 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)