Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.001198/0.001198, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001325/0.001325, allocations: 190.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.25 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8589/1.193, allocations: 195.5 MB / 1.259 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01369/1.206, allocations: 10.82 MB / 1.269 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/1.208, allocations: 43.94 kB / 1.269 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/1.21, allocations: 458.8 kB / 1.27 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00512/1.215, allocations: 1.681 MB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/1.219, allocations: 1.058 MB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004557/1.223, allocations: 2.781 MB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/1.226, allocations: 1.17 MB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005321/1.231, allocations: 1.604 MB / 1.278 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/1.234, allocations: 1.007 MB / 1.279 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/1.234, allocations: 125 kB / 1.279 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/1.239, allocations: 1.783 MB / 1.281 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009664/1.24, allocations: 0.5206 MB / 1.281 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.241, allocations: 0.7183 MB / 1.282 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005778/1.247, allocations: 2.415 MB / 1.284 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.247, allocations: 2.219 kB / 1.284 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.216e-06/1.247, allocations: 0 / 1.284 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.531e-05/1.247, allocations: 2.906 kB / 1.284 GB, free: 5.086 MB / 0.9981 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.003773/1.251, allocations: 1.697 MB / 1.286 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.251, allocations: 10.45 kB / 1.286 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/1.253, allocations: 326.7 kB / 1.286 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.255, allocations: 0.8624 MB / 1.287 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.255, allocations: 79 kB / 1.287 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.255, allocations: 107.8 kB / 1.287 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/1.257, allocations: 1.177 MB / 1.288 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/1.257, allocations: 1 kB / 1.288 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/1.257, allocations: 41.67 kB / 1.288 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/1.257, allocations: 37.69 kB / 1.288 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.259, allocations: 0.9438 MB / 1.289 GB, free: 19.62 MB / 1.014 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.005776/1.264, allocations: 4.713 MB / 1.294 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/1.266, allocations: 0.7215 MB / 1.295 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/1.266, allocations: 393.1 kB / 1.295 GB, free: 16.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/1.267, allocations: 317.9 kB / 1.295 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.267, allocations: 42.91 kB / 1.295 GB, free: 16.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.886e-06/1.267, allocations: 0 / 1.295 GB, free: 16.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.00195/1.269, allocations: 1.005 MB / 1.296 GB, free: 16.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/1.269, allocations: 62.47 kB / 1.296 GB, free: 16.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/1.27, allocations: 0.7932 MB / 1.297 GB, free: 16.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/1.27, allocations: 39.92 kB / 1.297 GB, free: 16.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/1.27, allocations: 0.5404 MB / 1.298 GB, free: 16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/1.271, allocations: 243.2 kB / 1.298 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.271, allocations: 145.4 kB / 1.298 GB, free: 15.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.271, allocations: 337.2 kB / 1.298 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/1.271, allocations: 297.5 kB / 1.299 GB, free: 15.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/1.272, allocations: 0.4931 MB / 1.299 GB, free: 15.31 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.273, allocations: 0.7918 MB / 1.3 GB, free: 15.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.273, allocations: 3.219 kB / 1.3 GB, free: 15.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001442/1.274, allocations: 0.9087 MB / 1.301 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.274, allocations: 12.27 kB / 1.301 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.275, allocations: 3.844 kB / 1.301 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/1.275, allocations: 9.812 kB / 1.301 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/1.275, allocations: 181.7 kB / 1.301 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00041/1.276, allocations: 0.6074 MB / 1.302 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.277, allocations: 144.5 kB / 1.302 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/1.277, allocations: 27.84 kB / 1.302 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009309/1.278, allocations: 0.5496 MB / 1.302 GB, free: 14.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005883/1.279, allocations: 0.4946 MB / 1.303 GB, free: 14.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/1.28, allocations: 0.7884 MB / 1.304 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/1.28, allocations: 1.781 kB / 1.304 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00141/1.281, allocations: 0.9076 MB / 1.304 GB, free: 13.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.281, allocations: 11.41 kB / 1.304 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.281, allocations: 4.344 kB / 1.304 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/1.281, allocations: 9.844 kB / 1.304 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/1.282, allocations: 167.7 kB / 1.305 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.282, allocations: 15.03 kB / 1.305 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.283, allocations: 120.9 kB / 1.305 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.283, allocations: 31.69 kB / 1.305 GB, free: 13.8 MB / 1.014 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.0002859/1.283, allocations: 233.4 kB / 1.305 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/1.283, allocations: 101.1 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.285, allocations: 0.795 MB / 1.306 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.285, allocations: 6.875 kB / 1.306 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.285, allocations: 1 kB / 1.306 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/1.286, allocations: 0.8731 MB / 1.307 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.29, allocations: 2.146 MB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.29, allocations: 7.969 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/1.291, allocations: 153.5 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.291, allocations: 4.312 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/1.291, allocations: 19.47 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/1.291, allocations: 0.5973 MB / 1.31 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.291, allocations: 6.469 kB / 1.31 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.293, allocations: 1.285 MB / 1.311 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.293, allocations: 253.3 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.294, allocations: 20.5 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/1.294, allocations: 66 kB / 1.311 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/1.295, allocations: 49.55 kB / 1.311 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/1.295, allocations: 28.94 kB / 1.311 GB, free: 11.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007138/1.295, allocations: 0.5539 MB / 1.312 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.295, allocations: 0 / 1.312 GB, free: 11.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001871/1.297, allocations: 0.5593 MB / 1.312 GB, free: 11.39 MB / 1.014 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.0006991/1.298, allocations: 234.6 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002758/1.301, allocations: 1.29 MB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.301, allocations: 1.938 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/1.301, allocations: 366 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.303, allocations: 490.2 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/1.308, allocations: 2.741 MB / 1.317 GB, free: 9.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.308, allocations: 1.167 MB / 1.318 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001321/1.31, allocations: 357.9 kB / 1.319 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/1.31, allocations: 78.59 kB / 1.319 GB, free: 8.953 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.31, allocations: 0 / 1.319 GB, free: 8.953 MB / 1.014 GB Notification: Performance of Templates: time 0.02866/1.339, allocations: 17.39 MB / 1.336 GB, free: 6.516 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)