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.0008206/0.0008206, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00554/0.00554, allocations: 170 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 473.4 MB / 0.7469 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 13.19 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 162.2 MB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.8691/1.208, allocations: 193.1 MB / 1.263 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01377/1.222, allocations: 10.84 MB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.224, allocations: 43.75 kB / 1.273 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/1.225, allocations: 439.7 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00585/1.231, allocations: 1.689 MB / 1.275 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/1.236, allocations: 1.042 MB / 1.276 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006342/1.242, allocations: 3.732 MB / 1.28 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/1.244, allocations: 1.006 MB / 1.281 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005321/1.249, allocations: 1.412 MB / 1.282 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/1.252, allocations: 0.9343 MB / 1.283 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/1.253, allocations: 52.53 kB / 1.283 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005587/1.258, allocations: 1.896 MB / 1.285 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.259, allocations: 455.7 kB / 1.286 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/1.261, allocations: 0.6503 MB / 1.286 GB, free: 21.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006793/1.268, allocations: 2.331 MB / 1.289 GB, free: 21.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.268, allocations: 0 / 1.289 GB, free: 21.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.625e-06/1.268, allocations: 0 / 1.289 GB, free: 21.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.973e-05/1.268, allocations: 1.062 kB / 1.289 GB, free: 21.61 MB / 1.014 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.003385/1.271, allocations: 1.446 MB / 1.29 GB, free: 20.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.271, allocations: 9.781 kB / 1.29 GB, free: 20.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/1.273, allocations: 321.4 kB / 1.29 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.275, allocations: 0.8657 MB / 1.291 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/1.275, allocations: 82.19 kB / 1.291 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.275, allocations: 109.2 kB / 1.291 GB, free: 20.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/1.278, allocations: 1.174 MB / 1.293 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/1.278, allocations: 4.25 kB / 1.293 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/1.278, allocations: 42.72 kB / 1.293 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/1.278, allocations: 38.53 kB / 1.293 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.28, allocations: 0.9399 MB / 1.294 GB, free: 20.17 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.005823/1.285, allocations: 4.712 MB / 1.298 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/1.287, allocations: 0.722 MB / 1.299 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/1.287, allocations: 393.3 kB / 1.299 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/1.288, allocations: 330.6 kB / 1.3 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.288, allocations: 46.25 kB / 1.3 GB, free: 17.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.095e-06/1.288, allocations: 0 / 1.3 GB, free: 17.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002023/1.29, allocations: 1.002 MB / 1.301 GB, free: 17.01 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.29, allocations: 58.97 kB / 1.301 GB, free: 16.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.291, allocations: 0.7952 MB / 1.301 GB, free: 16.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/1.291, allocations: 45.27 kB / 1.301 GB, free: 16.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/1.292, allocations: 0.5436 MB / 1.302 GB, free: 16.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.292, allocations: 243 kB / 1.302 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.292, allocations: 68.95 kB / 1.302 GB, free: 16.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.292, allocations: 334.9 kB / 1.303 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/1.293, allocations: 291.7 kB / 1.303 GB, free: 16.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/1.293, allocations: 0.4924 MB / 1.303 GB, free: 15.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.294, allocations: 0.7902 MB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.294, allocations: 1.25 kB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001573/1.296, allocations: 0.9074 MB / 1.305 GB, free: 15.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.296, allocations: 229.7 kB / 1.305 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.296, allocations: 9.031 kB / 1.305 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.296, allocations: 9.062 kB / 1.305 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.297, allocations: 187.5 kB / 1.305 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003966/1.297, allocations: 0.6036 MB / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.299, allocations: 133.1 kB / 1.306 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/1.299, allocations: 36.33 kB / 1.306 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/1.299, allocations: 2.906 kB / 1.306 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/1.3, allocations: 0.7964 MB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.3, allocations: 8.078 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.3, allocations: 15.75 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/1.301, allocations: 171.9 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.301, allocations: 14.55 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/1.302, allocations: 122.2 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/1.302, allocations: 36.5 kB / 1.307 GB, free: 14.57 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.0007631/1.302, allocations: 404.5 kB / 1.308 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.303, allocations: 100.6 kB / 1.308 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/1.304, allocations: 0.7911 MB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.304, allocations: 7.219 kB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.304, allocations: 4 kB / 1.309 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/1.305, allocations: 0.8762 MB / 1.309 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/1.309, allocations: 2.152 MB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.309, allocations: 5.375 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/1.31, allocations: 155.1 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.31, allocations: 5.875 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/1.31, allocations: 21.5 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/1.31, allocations: 0.5937 MB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.31, allocations: 3.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.312, allocations: 1.288 MB / 1.314 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/1.313, allocations: 254.5 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.313, allocations: 21.03 kB / 1.314 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/1.313, allocations: 72.16 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/1.313, allocations: 49.73 kB / 1.314 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.313, allocations: 20.41 kB / 1.314 GB, free: 12.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006869/1.314, allocations: 0.5468 MB / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.112e-06/1.314, allocations: 0 / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001662/1.316, allocations: 0.5687 MB / 1.315 GB, free: 12.13 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.0006204/1.316, allocations: 238.9 kB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.319, allocations: 1.161 MB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.319, allocations: 1.375 kB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/1.319, allocations: 365.3 kB / 1.317 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.322, allocations: 487.5 kB / 1.317 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/1.326, allocations: 2.841 MB / 1.32 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/1.327, allocations: 1.175 MB / 1.321 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001333/1.328, allocations: 347.5 kB / 1.321 GB, free: 9.676 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/1.328, allocations: 90.12 kB / 1.322 GB, free: 9.664 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.328, allocations: 0 / 1.322 GB, free: 9.664 MB / 1.014 GB Notification: Performance of Templates: time 0.0322/1.36, allocations: 16.8 MB / 1.338 GB, free: 5.648 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)