Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4542/0.4568, allocations: 80.82 MB / 0.5904 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6089/1.066, allocations: 167.3 MB / 0.7538 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003522/1.069, allocations: 1.497 MB / 0.7553 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/1.07, allocations: 10.09 kB / 0.7553 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/1.071, allocations: 232.2 kB / 0.7555 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/1.073, allocations: 0.5935 MB / 0.7561 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/1.075, allocations: 0.6961 MB / 0.7568 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001649/1.077, allocations: 1.041 MB / 0.7578 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/1.078, allocations: 322.8 kB / 0.7581 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/1.079, allocations: 0.5258 MB / 0.7586 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/1.079, allocations: 320.2 kB / 0.7589 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/1.08, allocations: 40.09 kB / 0.759 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/1.081, allocations: 0.6377 MB / 0.7596 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003353/1.082, allocations: 183.8 kB / 0.7598 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004917/1.082, allocations: 258.2 kB / 0.76 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/1.085, allocations: 0.8873 MB / 0.7609 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.085, allocations: 2.781 kB / 0.7609 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/1.085, allocations: 0 / 0.7609 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/1.085, allocations: 0 / 0.7609 GB, free: 1.656 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002152/1.087, allocations: 0.7817 MB / 0.7616 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/1.087, allocations: 15.92 kB / 0.7616 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/1.089, allocations: 145.1 kB / 0.7618 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/1.09, allocations: 351.3 kB / 0.7621 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/1.09, allocations: 27.19 kB / 0.7621 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/1.09, allocations: 39.05 kB / 0.7622 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.091, allocations: 422.1 kB / 0.7626 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.091, allocations: 4.875 kB / 0.7626 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/1.091, allocations: 15.34 kB / 0.7626 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/1.091, allocations: 9.609 kB / 0.7626 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/1.092, allocations: 308.7 kB / 0.7629 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/1.095, allocations: 1.492 MB / 0.7644 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/1.096, allocations: 128.6 kB / 0.7645 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.096, allocations: 83.62 kB / 0.7646 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/1.097, allocations: 116.6 kB / 0.7647 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.097, allocations: 37.06 kB / 0.7647 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 3.206e-06/1.097, allocations: 3.094 kB / 0.7647 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.001069/1.098, allocations: 271.8 kB / 0.765 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.098, allocations: 54.62 kB / 0.765 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/1.099, allocations: 438.9 kB / 0.7654 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/1.099, allocations: 31.64 kB / 0.7655 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/1.099, allocations: 235 kB / 0.7657 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/1.099, allocations: 55.73 kB / 0.7658 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.099, allocations: 47.83 kB / 0.7658 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.099, allocations: 347.8 kB / 0.7661 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/1.1, allocations: 87.34 kB / 0.7662 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/1.1, allocations: 165.4 kB / 0.7664 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/1.101, allocations: 260.4 kB / 0.7666 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.101, allocations: 1.25 kB / 0.7666 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001029/1.102, allocations: 322.2 kB / 0.7669 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.102, allocations: 6.188 kB / 0.7669 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.102, allocations: 3.219 kB / 0.7669 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/1.102, allocations: 8 kB / 0.7669 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/1.102, allocations: 53.83 kB / 0.767 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/1.102, allocations: 6.734 kB / 0.767 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/1.103, allocations: 43.58 kB / 0.767 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/1.103, allocations: 19.44 kB / 0.7671 GB, free: 14.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003208/1.103, allocations: 167 kB / 0.7672 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.104, allocations: 41.38 kB / 0.7673 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/1.104, allocations: 224 kB / 0.7675 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.104, allocations: 3.031 kB / 0.7675 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.104, allocations: 128 / 0.7675 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.104, allocations: 8 kB / 0.7675 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/1.106, allocations: 0.7309 MB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.106, allocations: 2.219 kB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/1.106, allocations: 28.92 kB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.106, allocations: 3.391 kB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.106, allocations: 8.406 kB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/1.106, allocations: 5.312 kB / 0.7682 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.106, allocations: 2.906 kB / 0.7683 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.107, allocations: 442.9 kB / 0.7687 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/1.108, allocations: 146.5 kB / 0.7688 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/1.108, allocations: 3.844 kB / 0.7688 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/1.108, allocations: 22.45 kB / 0.7688 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.108, allocations: 19.81 kB / 0.7689 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/1.108, allocations: 17.97 kB / 0.7689 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005637/1.109, allocations: 311.2 kB / 0.7692 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.109, allocations: 0.9062 kB / 0.7692 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009124/1.11, allocations: 113 kB / 0.7693 GB, free: 13.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005447/1.111, allocations: 150.4 kB / 0.7694 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000659/1.111, allocations: 211.7 kB / 0.7696 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.111, allocations: 0 / 0.7696 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.112, allocations: 91.55 kB / 0.7697 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.113, allocations: 245.6 kB / 0.7699 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/1.114, allocations: 0.732 MB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/1.115, allocations: 0.8108 MB / 0.7715 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003327/1.115, allocations: 84.89 kB / 0.7715 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/1.115, allocations: 31.44 kB / 0.7716 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/1.115, allocations: 1.031 kB / 0.7716 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.01467/1.13, allocations: 8.287 MB / 0.7797 GB, free: 12.37 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)