Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [/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.4016/0.4051, allocations: 80.81 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6304/1.035, allocations: 179.5 MB / 0.7657 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01023/1.046, allocations: 7.876 MB / 0.7734 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008969/1.047, allocations: 16.78 kB / 0.7734 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/1.048, allocations: 325.4 kB / 0.7737 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003667/1.052, allocations: 1.104 MB / 0.7748 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/1.055, allocations: 0.944 MB / 0.7757 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002847/1.057, allocations: 1.513 MB / 0.7772 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/1.058, allocations: 0.533 MB / 0.7777 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/1.061, allocations: 1.004 MB / 0.7787 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008944/1.062, allocations: 0.5674 MB / 0.7793 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/1.062, allocations: 64.5 kB / 0.7793 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/1.064, allocations: 0.7431 MB / 0.78 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/1.064, allocations: 257.5 kB / 0.7803 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004873/1.065, allocations: 391.3 kB / 0.7807 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/1.067, allocations: 1.205 MB / 0.7818 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.067, allocations: 0.9062 kB / 0.7818 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/1.067, allocations: 0 / 0.7818 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.067, allocations: 0 / 0.7818 GB, free: 1.391 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001782/1.069, allocations: 1.054 MB / 0.7829 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.069, allocations: 14.14 kB / 0.7829 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/1.07, allocations: 157.7 kB / 0.783 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/1.07, allocations: 451.7 kB / 0.7835 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.07, allocations: 101.5 kB / 0.7836 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/1.071, allocations: 57.66 kB / 0.7836 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.072, allocations: 0.5479 MB / 0.7841 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.072, allocations: 1.031 kB / 0.7841 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/1.072, allocations: 22.92 kB / 0.7842 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/1.072, allocations: 13.25 kB / 0.7842 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/1.073, allocations: 484.4 kB / 0.7846 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/1.076, allocations: 1.947 MB / 0.7865 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/1.076, allocations: 336.5 kB / 0.7869 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/1.076, allocations: 177.3 kB / 0.787 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/1.077, allocations: 127.7 kB / 0.7872 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.077, allocations: 46.62 kB / 0.7872 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/1.077, allocations: 0.9688 kB / 0.7872 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=32): time 0.001135/1.078, allocations: 0.5428 MB / 0.7877 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.078, allocations: 60.12 kB / 0.7878 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/1.079, allocations: 0.516 MB / 0.7883 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/1.079, allocations: 38.55 kB / 0.7883 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/1.079, allocations: 268.2 kB / 0.7886 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/1.079, allocations: 116.4 kB / 0.7887 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.079, allocations: 89.55 kB / 0.7888 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.079, allocations: 359.5 kB / 0.7891 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/1.08, allocations: 173.1 kB / 0.7893 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/1.08, allocations: 255.9 kB / 0.7895 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/1.081, allocations: 484.1 kB / 0.79 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.081, allocations: 0 / 0.79 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009441/1.082, allocations: 0.6016 MB / 0.7906 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/1.082, allocations: 62.34 kB / 0.7906 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.082, allocations: 7.297 kB / 0.7906 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.082, allocations: 3.516 kB / 0.7907 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/1.082, allocations: 88.3 kB / 0.7907 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.082, allocations: 6.125 kB / 0.7907 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/1.083, allocations: 57.59 kB / 0.7908 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/1.083, allocations: 13.69 kB / 0.7908 GB, free: 14.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senHSen_flow.i_x,senHLat_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0002476/1.083, allocations: 191.2 kB / 0.791 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/1.083, allocations: 59.81 kB / 0.791 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/1.084, allocations: 480.2 kB / 0.7915 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.084, allocations: 4.094 kB / 0.7915 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.084, allocations: 0 / 0.7915 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.084, allocations: 0.875 kB / 0.7915 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/1.086, allocations: 1.09 MB / 0.7926 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.086, allocations: 4.219 kB / 0.7926 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/1.086, allocations: 59.2 kB / 0.7926 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/1.086, allocations: 2.75 kB / 0.7926 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/1.086, allocations: 12.31 kB / 0.7927 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.086, allocations: 6.125 kB / 0.7927 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.086, allocations: 1.734 kB / 0.7927 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.087, allocations: 0.7795 MB / 0.7934 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/1.088, allocations: 192.6 kB / 0.7936 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/1.088, allocations: 7.938 kB / 0.7936 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/1.088, allocations: 28.55 kB / 0.7936 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/1.088, allocations: 27.98 kB / 0.7937 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/1.088, allocations: 24.61 kB / 0.7937 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004332/1.089, allocations: 373.4 kB / 0.794 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 1.969 kB / 0.794 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006522/1.089, allocations: 169.9 kB / 0.7942 GB, free: 13.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * 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 (32): * Single equations (assignments): 32 * 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.0005358/1.09, allocations: 191.1 kB / 0.7944 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009364/1.091, allocations: 0.5296 MB / 0.7949 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.091, allocations: 1.203 kB / 0.7949 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/1.091, allocations: 195.9 kB / 0.7951 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.093, allocations: 309.3 kB / 0.7954 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/1.095, allocations: 1.193 MB / 0.7966 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.095, allocations: 0.8813 MB / 0.7974 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005023/1.096, allocations: 123.8 kB / 0.7975 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.096, allocations: 50.89 kB / 0.7976 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/1.096, allocations: 0 / 0.7976 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.02406/1.12, allocations: 11.51 MB / 0.8088 GB, free: 9.676 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)