Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [/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.2134/0.2142, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5789/0.7931, allocations: 157 MB / 0.7475 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00498/0.7982, allocations: 4.463 MB / 0.7518 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.7984, allocations: 10.84 kB / 0.7518 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.7991, allocations: 173.1 kB / 0.752 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.8002, allocations: 470.7 kB / 0.7525 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.801, allocations: 329.5 kB / 0.7528 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.8022, allocations: 1.267 MB / 0.754 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.8026, allocations: 237.1 kB / 0.7542 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.8037, allocations: 0.5285 MB / 0.7547 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.8041, allocations: 306.4 kB / 0.755 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.8042, allocations: 16.75 kB / 0.7551 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.8044, allocations: 89.52 kB / 0.7551 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.8046, allocations: 145.6 kB / 0.7553 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.8049, allocations: 217.5 kB / 0.7555 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.8054, allocations: 0.5288 MB / 0.756 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8054, allocations: 0 / 0.756 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8054, allocations: 0 / 0.756 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8054, allocations: 0 / 0.756 GB, free: 12.89 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001025/0.8065, allocations: 0.5918 MB / 0.7566 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8065, allocations: 9.859 kB / 0.7566 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.8068, allocations: 53.58 kB / 0.7566 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.8072, allocations: 315.3 kB / 0.7569 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.8073, allocations: 19.66 kB / 0.757 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.8073, allocations: 36.91 kB / 0.757 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.808, allocations: 399.4 kB / 0.7574 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.808, allocations: 0 / 0.7574 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.808, allocations: 19.81 kB / 0.7574 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.8081, allocations: 8.281 kB / 0.7574 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.8086, allocations: 295 kB / 0.7577 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.8107, allocations: 1.436 MB / 0.7591 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.8109, allocations: 85.67 kB / 0.7592 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.811, allocations: 47.02 kB / 0.7592 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.8114, allocations: 135.4 kB / 0.7593 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8114, allocations: 34.72 kB / 0.7594 GB, free: 10.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.8115, allocations: 0 / 0.7594 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005103/0.812, allocations: 185.3 kB / 0.7596 GB, free: 10.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.812, allocations: 55.39 kB / 0.7596 GB, free: 10.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.8125, allocations: 433.1 kB / 0.76 GB, free: 10.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.8125, allocations: 36.48 kB / 0.7601 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.8127, allocations: 220.1 kB / 0.7603 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.8127, allocations: 30.02 kB / 0.7603 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.8128, allocations: 22.44 kB / 0.7603 GB, free: 10.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8129, allocations: 350.6 kB / 0.7607 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.8131, allocations: 74.05 kB / 0.7607 GB, free: 9.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.8133, allocations: 173 kB / 0.7609 GB, free: 9.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.8137, allocations: 247.1 kB / 0.7611 GB, free: 9.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8137, allocations: 0 / 0.7611 GB, free: 9.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005154/0.8143, allocations: 301.2 kB / 0.7614 GB, free: 9.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8143, allocations: 7.969 kB / 0.7614 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.8143, allocations: 3.828 kB / 0.7614 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8143, allocations: 3.281 kB / 0.7614 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.8145, allocations: 55.28 kB / 0.7615 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.8146, allocations: 9.766 kB / 0.7615 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.8149, allocations: 55.17 kB / 0.7615 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.8149, allocations: 8.375 kB / 0.7615 GB, free: 9.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (26): * Single equations (assignments): 26 * 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.0001517/0.815, allocations: 176.5 kB / 0.7617 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.8151, allocations: 30.53 kB / 0.7617 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.8155, allocations: 162.6 kB / 0.7619 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8155, allocations: 96 / 0.7619 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8155, allocations: 3.984 kB / 0.7619 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8155, allocations: 0 / 0.7619 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.8162, allocations: 0.5355 MB / 0.7624 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8162, allocations: 0 / 0.7624 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.8163, allocations: 24.06 kB / 0.7624 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8164, allocations: 0 / 0.7624 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.8164, allocations: 7.609 kB / 0.7625 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8164, allocations: 11.38 kB / 0.7625 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8164, allocations: 3.938 kB / 0.7625 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.8169, allocations: 306.9 kB / 0.7628 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.817, allocations: 131.9 kB / 0.7629 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.8171, allocations: 3.219 kB / 0.7629 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.8174, allocations: 28.56 kB / 0.7629 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.8174, allocations: 7.469 kB / 0.7629 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.8175, allocations: 9.328 kB / 0.7629 GB, free: 8.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002855/0.8178, allocations: 312.1 kB / 0.7632 GB, free: 8.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8178, allocations: 3.938 kB / 0.7632 GB, free: 8.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003933/0.8182, allocations: 95.66 kB / 0.7633 GB, free: 8.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senStr.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 (7): * Single equations (assignments): 7 * 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.000346/0.8185, allocations: 147.8 kB / 0.7635 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.8189, allocations: 162.6 kB / 0.7636 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8189, allocations: 0.75 kB / 0.7636 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.8191, allocations: 52.91 kB / 0.7637 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8201, allocations: 184 kB / 0.7638 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.8211, allocations: 0.7377 MB / 0.7646 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8215, allocations: 0.7875 MB / 0.7653 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002617/0.8218, allocations: 66.03 kB / 0.7654 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.8218, allocations: 26.22 kB / 0.7654 GB, free: 6.738 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.8218, allocations: 0 / 0.7654 GB, free: 6.738 MB / 0.545 GB Notification: Performance of Templates: time 0.01072/0.8326, allocations: 6.353 MB / 0.7716 GB, free: 3.629 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: