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.001658/0.001658, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002437/0.002437, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 59.94 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8688/1.214, allocations: 195.8 MB / 1.259 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01409/1.229, allocations: 10.97 MB / 1.269 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.23, allocations: 44.03 kB / 1.269 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/1.232, allocations: 445.4 kB / 1.27 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/1.236, allocations: 1.684 MB / 1.271 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/1.239, allocations: 1.052 MB / 1.273 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004527/1.244, allocations: 3.731 MB / 1.276 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/1.245, allocations: 1.048 MB / 1.277 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004648/1.25, allocations: 1.451 MB / 1.279 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/1.252, allocations: 0.9838 MB / 1.28 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/1.252, allocations: 69.81 kB / 1.28 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/1.257, allocations: 1.912 MB / 1.282 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008129/1.257, allocations: 483.2 kB / 1.282 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/1.259, allocations: 0.6567 MB / 1.283 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/1.262, allocations: 2.38 MB / 1.285 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.262, allocations: 0 / 1.285 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/1.262, allocations: 0 / 1.285 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.674e-05/1.262, allocations: 0 / 1.285 GB, free: 4.918 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.003069/1.265, allocations: 1.689 MB / 1.287 GB, free: 20.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.265, allocations: 8.688 kB / 1.287 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/1.267, allocations: 329 kB / 1.287 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.269, allocations: 0.8627 MB / 1.288 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/1.269, allocations: 79.25 kB / 1.288 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.269, allocations: 105 kB / 1.288 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.271, allocations: 1.174 MB / 1.289 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.271, allocations: 0.9375 kB / 1.289 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/1.271, allocations: 45.69 kB / 1.289 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/1.271, allocations: 39.91 kB / 1.289 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/1.273, allocations: 0.9357 MB / 1.29 GB, free: 19.45 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.005245/1.278, allocations: 4.715 MB / 1.295 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.279, allocations: 0.7205 MB / 1.295 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/1.28, allocations: 395.3 kB / 1.296 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/1.28, allocations: 317.8 kB / 1.296 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.28, allocations: 43.84 kB / 1.296 GB, free: 16.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.855e-06/1.28, allocations: 2.906 kB / 1.296 GB, free: 16.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002148/1.283, allocations: 0.9998 MB / 1.297 GB, free: 16.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.283, allocations: 63.53 kB / 1.297 GB, free: 16.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.284, allocations: 0.7995 MB / 1.298 GB, free: 16.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/1.284, allocations: 40.3 kB / 1.298 GB, free: 16.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/1.284, allocations: 0.5361 MB / 1.298 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/1.284, allocations: 241.5 kB / 1.299 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/1.285, allocations: 151.9 kB / 1.299 GB, free: 15.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.285, allocations: 338.4 kB / 1.299 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/1.285, allocations: 296.3 kB / 1.299 GB, free: 15.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/1.286, allocations: 0.4986 MB / 1.3 GB, free: 15.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.287, allocations: 0.797 MB / 1.301 GB, free: 14.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.287, allocations: 2.438 kB / 1.301 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001529/1.288, allocations: 0.904 MB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.289, allocations: 7.844 kB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.289, allocations: 5 kB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.289, allocations: 7.969 kB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/1.289, allocations: 183.5 kB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003764/1.29, allocations: 0.5994 MB / 1.302 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.291, allocations: 136.4 kB / 1.303 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/1.291, allocations: 36.73 kB / 1.303 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001051/1.292, allocations: 0.5428 MB / 1.303 GB, free: 14.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006231/1.293, allocations: 0.4992 MB / 1.304 GB, free: 13.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001184/1.294, allocations: 0.7893 MB / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/1.294, allocations: 2.688 kB / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001596/1.296, allocations: 0.9077 MB / 1.305 GB, free: 13.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.296, allocations: 14.75 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.296, allocations: 4.625 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.296, allocations: 9.156 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/1.296, allocations: 168.3 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.296, allocations: 11.16 kB / 1.305 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/1.297, allocations: 124.5 kB / 1.306 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/1.297, allocations: 30.98 kB / 1.306 GB, free: 13.53 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.0002795/1.298, allocations: 232 kB / 1.306 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/1.298, allocations: 100.3 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/1.299, allocations: 0.7969 MB / 1.307 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.299, allocations: 6.344 kB / 1.307 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.299, allocations: 0.8125 kB / 1.307 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/1.3, allocations: 0.8765 MB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.304, allocations: 2.141 MB / 1.31 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.304, allocations: 6.062 kB / 1.31 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/1.304, allocations: 159.7 kB / 1.31 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.304, allocations: 4.875 kB / 1.31 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/1.305, allocations: 21.66 kB / 1.31 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002965/1.305, allocations: 0.5953 MB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.305, allocations: 2.531 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.307, allocations: 1.283 MB / 1.312 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/1.307, allocations: 259.2 kB / 1.312 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.307, allocations: 18.38 kB / 1.312 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/1.308, allocations: 68.58 kB / 1.312 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/1.308, allocations: 49.33 kB / 1.312 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/1.308, allocations: 25.61 kB / 1.312 GB, free: 11.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007292/1.309, allocations: 0.55 MB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.309, allocations: 0 / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001561/1.31, allocations: 0.5614 MB / 1.313 GB, free: 11.1 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.0005663/1.311, allocations: 246.7 kB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.313, allocations: 1.152 MB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.313, allocations: 0 / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/1.313, allocations: 371.8 kB / 1.315 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.316, allocations: 485.5 kB / 1.315 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/1.319, allocations: 2.725 MB / 1.318 GB, free: 9.441 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/1.319, allocations: 1.172 MB / 1.319 GB, free: 8.723 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001069/1.32, allocations: 353.9 kB / 1.319 GB, free: 8.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.321, allocations: 83.98 kB / 1.32 GB, free: 8.664 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.321, allocations: 3.938 kB / 1.32 GB, free: 8.66 MB / 1.014 GB Notification: Performance of Templates: time 0.02768/1.348, allocations: 16.88 MB / 1.336 GB, free: 5.391 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)