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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009017/0.009017, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001856/0.001856, allocations: 194.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.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.001487/0.001487, allocations: 69.78 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8138/1.097, allocations: 198.2 MB / 1.022 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01778/1.114, allocations: 10.98 MB / 1.032 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/1.117, allocations: 43.22 kB / 1.032 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.119, allocations: 0.5311 MB / 1.033 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00622/1.125, allocations: 1.793 MB / 1.035 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/1.129, allocations: 1.182 MB / 1.036 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00531/1.134, allocations: 2.841 MB / 1.039 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.136, allocations: 1.214 MB / 1.04 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/1.141, allocations: 1.639 MB / 1.041 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/1.143, allocations: 0.9771 MB / 1.042 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/1.144, allocations: 124 kB / 1.042 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/1.148, allocations: 1.719 MB / 1.044 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006573/1.148, allocations: 0.5259 MB / 1.045 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/1.149, allocations: 0.7269 MB / 1.045 GB, free: 14.29 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004557/1.154, allocations: 2.412 MB / 1.048 GB, free: 11.88 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.154, allocations: 0 / 1.048 GB, free: 11.88 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/1.154, allocations: 0 / 1.048 GB, free: 11.88 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.553e-05/1.154, allocations: 0 / 1.048 GB, free: 11.88 MB / 0.795 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.003216/1.157, allocations: 1.742 MB / 1.049 GB, free: 10.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.157, allocations: 12.03 kB / 1.049 GB, free: 10.06 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.159, allocations: 326.8 kB / 1.05 GB, free: 9.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.161, allocations: 0.9103 MB / 1.051 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/1.161, allocations: 82.02 kB / 1.051 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.161, allocations: 107.9 kB / 1.051 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.163, allocations: 1.189 MB / 1.052 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.163, allocations: 3.938 kB / 1.052 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.164, allocations: 44 kB / 1.052 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/1.164, allocations: 34 kB / 1.052 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.166, allocations: 0.9486 MB / 1.053 GB, free: 6.32 MB / 0.795 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.006746/1.172, allocations: 4.528 MB / 1.057 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.174, allocations: 0.7377 MB / 1.058 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/1.174, allocations: 395.3 kB / 1.058 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/1.175, allocations: 320 kB / 1.059 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.175, allocations: 47.2 kB / 1.059 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=71): time 3.807e-06/1.175, allocations: 0 / 1.059 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71): time 0.002218/1.177, allocations: 1.036 MB / 1.06 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.177, allocations: 60.06 kB / 1.06 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.178, allocations: 0.7867 MB / 1.061 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/1.178, allocations: 41.7 kB / 1.061 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/1.179, allocations: 0.5395 MB / 1.061 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/1.179, allocations: 265.7 kB / 1.061 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/1.179, allocations: 150.6 kB / 1.062 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.18, allocations: 345.9 kB / 1.062 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/1.18, allocations: 308.6 kB / 1.062 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/1.181, allocations: 499 kB / 1.063 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.182, allocations: 0.7857 MB / 1.064 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.182, allocations: 8 kB / 1.064 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001547/1.184, allocations: 0.9146 MB / 1.064 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/1.184, allocations: 12.09 kB / 1.064 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.184, allocations: 4 kB / 1.064 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.184, allocations: 8 kB / 1.064 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/1.185, allocations: 181.3 kB / 1.065 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004715/1.185, allocations: 0.6016 MB / 1.065 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/1.186, allocations: 91.42 kB / 1.065 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/1.186, allocations: 35.98 kB / 1.065 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009751/1.187, allocations: 0.5487 MB / 1.066 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007138/1.188, allocations: 0.4951 MB / 1.066 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/1.189, allocations: 0.7857 MB / 1.067 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.189, allocations: 0 / 1.067 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.001397/1.19, allocations: 0.916 MB / 1.068 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.19, allocations: 15.44 kB / 1.068 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.19, allocations: 4 kB / 1.068 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/1.19, allocations: 11.94 kB / 1.068 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/1.191, allocations: 175.7 kB / 1.068 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.191, allocations: 11.94 kB / 1.068 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/1.192, allocations: 67.59 kB / 1.068 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/1.192, allocations: 36 kB / 1.068 GB, free: 5.824 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (98): * Single equations (assignments): 97 * 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.0002555/1.192, allocations: 229.3 kB / 1.069 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.192, allocations: 107.3 kB / 1.069 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.194, allocations: 0.8153 MB / 1.069 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/1.194, allocations: 4 kB / 1.069 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.194, allocations: 0 / 1.069 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/1.195, allocations: 0.8967 MB / 1.07 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/1.198, allocations: 2.183 MB / 1.072 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.198, allocations: 7.938 kB / 1.072 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/1.199, allocations: 152 kB / 1.073 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.199, allocations: 11.94 kB / 1.073 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/1.199, allocations: 23.92 kB / 1.073 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003308/1.2, allocations: 0.5902 MB / 1.073 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.2, allocations: 4.031 kB / 1.073 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.202, allocations: 1.349 MB / 1.075 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/1.202, allocations: 272.2 kB / 1.075 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.202, allocations: 16 kB / 1.075 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/1.203, allocations: 34.89 kB / 1.075 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/1.203, allocations: 52.38 kB / 1.075 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/1.203, allocations: 20 kB / 1.075 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008213/1.204, allocations: 0.5458 MB / 1.075 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/1.204, allocations: 0 / 1.075 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001555/1.205, allocations: 0.5768 MB / 1.076 GB, free: 13.69 MB / 0.8262 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 (71): * Single equations (assignments): 70 * 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.0006125/1.206, allocations: 237.9 kB / 1.076 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00229/1.208, allocations: 1.184 MB / 1.077 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.208, allocations: 0 / 1.077 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/1.209, allocations: 376.4 kB / 1.078 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.211, allocations: 493.5 kB / 1.078 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/1.215, allocations: 2.356 MB / 1.081 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/1.216, allocations: 1.175 MB / 1.082 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001135/1.217, allocations: 359.8 kB / 1.082 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.217, allocations: 79.42 kB / 1.082 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.217, allocations: 8 kB / 1.082 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.03244/1.25, allocations: 17.93 MB / 1.1 GB, free: 5.742 MB / 0.8419 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)