Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 178.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 96.17 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006454, allocations: 12.42 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8902/1.107, allocations: 164.1 MB / 1.138 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.127, allocations: 9.537 MB / 1.148 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.129, allocations: 36.72 kB / 1.148 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/1.131, allocations: 0.5018 MB / 1.148 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007653/1.139, allocations: 1.571 MB / 1.15 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005773/1.145, allocations: 1.142 MB / 1.151 GB, free: 8.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00468/1.15, allocations: 1.615 MB / 1.153 GB, free: 7.742 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.152, allocations: 0.8932 MB / 1.153 GB, free: 7.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/1.156, allocations: 1.12 MB / 1.154 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/1.158, allocations: 0.6434 MB / 1.155 GB, free: 6.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004081/1.159, allocations: 54.31 kB / 1.155 GB, free: 6.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/1.163, allocations: 0.8187 MB / 1.156 GB, free: 5.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/1.164, allocations: 424 kB / 1.156 GB, free: 5.516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007783/1.165, allocations: 274.6 kB / 1.157 GB, free: 5.367 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/1.168, allocations: 1.514 MB / 1.158 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.169, allocations: 0 / 1.158 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/1.169, allocations: 1.156 kB / 1.158 GB, free: 4.363 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.251e-05/1.169, allocations: 0 / 1.158 GB, free: 4.363 MB / 0.698 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.00449/1.173, allocations: 1.428 MB / 1.16 GB, free: 3.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.173, allocations: 9.312 kB / 1.16 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/1.176, allocations: 320.2 kB / 1.16 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/1.18, allocations: 0.8463 MB / 1.161 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.18, allocations: 80.59 kB / 1.161 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/1.18, allocations: 106.9 kB / 1.161 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/1.183, allocations: 1.165 MB / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/1.184, allocations: 0.75 kB / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/1.184, allocations: 41.91 kB / 1.162 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.617e-05/1.184, allocations: 35.97 kB / 1.162 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/1.187, allocations: 0.9344 MB / 1.163 GB, free: 1.211 MB / 0.698 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.009826/1.197, allocations: 4.715 MB / 1.168 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.199, allocations: 0.7457 MB / 1.168 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007591/1.199, allocations: 151.1 kB / 1.168 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/1.2, allocations: 38.47 kB / 1.168 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 3.026e-06/1.2, allocations: 0.625 kB / 1.168 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.003321/1.203, allocations: 1.026 MB / 1.169 GB, free: 12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.203, allocations: 60.8 kB / 1.17 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/1.205, allocations: 0.7927 MB / 1.17 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.205, allocations: 40.33 kB / 1.17 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/1.205, allocations: 0.5325 MB / 1.171 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/1.206, allocations: 243.3 kB / 1.171 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/1.206, allocations: 14.81 kB / 1.171 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.206, allocations: 337.4 kB / 1.171 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/1.207, allocations: 291.6 kB / 1.172 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/1.208, allocations: 0.5102 MB / 1.172 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009987/1.209, allocations: 369.8 kB / 1.173 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.209, allocations: 2.375 kB / 1.173 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002502/1.212, allocations: 0.9154 MB / 1.173 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008/1.212, allocations: 1.749 MB / 1.175 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.212, allocations: 5 kB / 1.175 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/1.212, allocations: 8.469 kB / 1.175 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.214, allocations: 187.2 kB / 1.175 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/1.215, allocations: 0.5971 MB / 1.176 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.216, allocations: 134.8 kB / 1.176 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.217, allocations: 29.97 kB / 1.176 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.217, allocations: 9.016 kB / 1.176 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/1.219, allocations: 0.8002 MB / 1.177 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.219, allocations: 5.344 kB / 1.177 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.219, allocations: 7.719 kB / 1.177 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.22, allocations: 168.3 kB / 1.177 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.22, allocations: 12 kB / 1.177 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.222, allocations: 118.1 kB / 1.177 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.222, allocations: 37.02 kB / 1.177 GB, free: 6.082 MB / 0.7136 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.000948/1.223, allocations: 404.4 kB / 1.178 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/1.223, allocations: 107.5 kB / 1.178 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/1.226, allocations: 0.8014 MB / 1.178 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.226, allocations: 5.438 kB / 1.179 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.226, allocations: 0 / 1.179 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001768/1.227, allocations: 0.8934 MB / 1.179 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/1.233, allocations: 2.171 MB / 1.181 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.234, allocations: 2.844 kB / 1.181 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.235, allocations: 161.8 kB / 1.182 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/1.235, allocations: 4.906 kB / 1.182 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/1.235, allocations: 24.27 kB / 1.182 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000479/1.236, allocations: 0.5921 MB / 1.182 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.236, allocations: 6.906 kB / 1.182 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/1.239, allocations: 1.442 MB / 1.184 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/1.24, allocations: 252.7 kB / 1.184 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.24, allocations: 19.09 kB / 1.184 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.241, allocations: 73.91 kB / 1.184 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.241, allocations: 45.36 kB / 1.184 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/1.241, allocations: 29.97 kB / 1.184 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001095/1.243, allocations: 0.5356 MB / 1.185 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.243, allocations: 0 / 1.185 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002232/1.245, allocations: 0.5614 MB / 1.185 GB, free: 0.7695 MB / 0.7136 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.0007522/1.246, allocations: 229.9 kB / 1.185 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003496/1.249, allocations: 1.168 MB / 1.187 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.249, allocations: 2.719 kB / 1.187 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.25, allocations: 370.2 kB / 1.187 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/1.254, allocations: 484.5 kB / 1.187 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/1.261, allocations: 2.747 MB / 1.19 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.262, allocations: 1.2 MB / 1.191 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002168/1.264, allocations: 360.9 kB / 1.192 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/1.265, allocations: 85.28 kB / 1.192 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/1.265, allocations: 0 / 1.192 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.06369/1.328, allocations: 16.6 MB / 1.208 GB, free: 13.41 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)