Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001168/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 66.72 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.315, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.9252/1.24, allocations: 198 MB / 1.262 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01462/1.255, allocations: 10.91 MB / 1.272 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/1.257, allocations: 49.83 kB / 1.272 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/1.259, allocations: 0.5282 MB / 1.273 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005255/1.264, allocations: 1.79 MB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/1.267, allocations: 1.167 MB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004153/1.272, allocations: 2.773 MB / 1.278 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.274, allocations: 1.211 MB / 1.28 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/1.279, allocations: 1.603 MB / 1.281 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/1.281, allocations: 0.9537 MB / 1.282 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003658/1.282, allocations: 124.1 kB / 1.282 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/1.287, allocations: 1.718 MB / 1.284 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009668/1.288, allocations: 0.5224 MB / 1.284 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.29, allocations: 0.7102 MB / 1.285 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/1.295, allocations: 2.323 MB / 1.287 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.295, allocations: 2.312 kB / 1.287 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.295, allocations: 0 / 1.287 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.195e-05/1.295, allocations: 4.781 kB / 1.287 GB, free: 5.133 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.003701/1.298, allocations: 1.692 MB / 1.289 GB, free: 20.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.299, allocations: 9.25 kB / 1.289 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/1.301, allocations: 324.6 kB / 1.289 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/1.302, allocations: 0.8631 MB / 1.29 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/1.302, allocations: 80.97 kB / 1.29 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.303, allocations: 100.2 kB / 1.29 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/1.304, allocations: 1.18 MB / 1.291 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.304, allocations: 2.344 kB / 1.291 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/1.305, allocations: 44.42 kB / 1.291 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/1.305, allocations: 35.56 kB / 1.292 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.306, allocations: 0.9492 MB / 1.292 GB, free: 19.67 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.009888/1.316, allocations: 4.746 MB / 1.297 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/1.318, allocations: 0.7202 MB / 1.298 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/1.319, allocations: 397.2 kB / 1.298 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/1.319, allocations: 312.9 kB / 1.298 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.32, allocations: 42.28 kB / 1.298 GB, free: 16.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.677e-06/1.32, allocations: 2.344 kB / 1.298 GB, free: 16.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.002511/1.322, allocations: 1.005 MB / 1.299 GB, free: 16.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/1.322, allocations: 63.19 kB / 1.3 GB, free: 16.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.324, allocations: 0.7964 MB / 1.3 GB, free: 16.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.324, allocations: 45.17 kB / 1.3 GB, free: 16.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.324, allocations: 0.5366 MB / 1.301 GB, free: 16.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/1.324, allocations: 244.3 kB / 1.301 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/1.325, allocations: 148.3 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.325, allocations: 333.8 kB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/1.325, allocations: 299.4 kB / 1.302 GB, free: 15.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/1.326, allocations: 0.4951 MB / 1.302 GB, free: 15.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.327, allocations: 0.7878 MB / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.327, allocations: 4.188 kB / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001565/1.329, allocations: 0.9123 MB / 1.304 GB, free: 15.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.329, allocations: 6.719 kB / 1.304 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.329, allocations: 6.312 kB / 1.304 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.329, allocations: 12.53 kB / 1.304 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/1.33, allocations: 184 kB / 1.304 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004346/1.33, allocations: 0.5964 MB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/1.331, allocations: 87.8 kB / 1.305 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.331, allocations: 33.47 kB / 1.305 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009049/1.332, allocations: 0.5438 MB / 1.305 GB, free: 14.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005602/1.332, allocations: 0.4942 MB / 1.306 GB, free: 14.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001025/1.333, allocations: 0.79 MB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.334, allocations: 2.469 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001437/1.335, allocations: 0.919 MB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.335, allocations: 9.375 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.335, allocations: 4.438 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.335, allocations: 10.12 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/1.336, allocations: 163.3 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.336, allocations: 11.94 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/1.336, allocations: 65.75 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/1.337, allocations: 36.25 kB / 1.308 GB, free: 13.84 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.0002802/1.337, allocations: 228.3 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.337, allocations: 109.5 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.338, allocations: 0.7914 MB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.338, allocations: 7.531 kB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.338, allocations: 2.906 kB / 1.309 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/1.339, allocations: 0.8784 MB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/1.343, allocations: 2.143 MB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.343, allocations: 2.531 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/1.344, allocations: 148.1 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.344, allocations: 8.469 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/1.344, allocations: 21.88 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003302/1.344, allocations: 0.5978 MB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.344, allocations: 5.875 kB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.346, allocations: 1.286 MB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/1.347, allocations: 261.7 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.347, allocations: 17.16 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/1.347, allocations: 18.19 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.347, allocations: 47.58 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/1.347, allocations: 28.41 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007807/1.348, allocations: 0.5461 MB / 1.315 GB, free: 11.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.348, allocations: 0 / 1.315 GB, free: 11.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002045/1.35, allocations: 0.5656 MB / 1.315 GB, free: 11.44 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.0005986/1.351, allocations: 235.1 kB / 1.316 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.353, allocations: 1.295 MB / 1.317 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.353, allocations: 0 / 1.317 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/1.354, allocations: 369.6 kB / 1.317 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/1.356, allocations: 490.8 kB / 1.318 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/1.36, allocations: 2.287 MB / 1.32 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/1.36, allocations: 1.167 MB / 1.321 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001055/1.362, allocations: 355.5 kB / 1.321 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/1.362, allocations: 80.55 kB / 1.321 GB, free: 9.445 MB / 1.014 GB Notification: Performance of SimCode: time 6.72e-07/1.362, allocations: 0 / 1.321 GB, free: 9.445 MB / 1.014 GB Notification: Performance of Templates: time 0.02953/1.391, allocations: 17.47 MB / 1.339 GB, free: 6.496 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)