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.1887/0.1894, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5918/0.7813, allocations: 146.5 MB / 0.7365 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00541/0.7867, allocations: 4.199 MB / 0.7406 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.787, allocations: 7.938 kB / 0.7407 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.7876, allocations: 138.5 kB / 0.7408 GB, free: 15.71 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001156/0.7888, allocations: 396.7 kB / 0.7412 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.7898, allocations: 288.8 kB / 0.7414 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.791, allocations: 1.07 MB / 0.7425 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.7914, allocations: 218.4 kB / 0.7427 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.7926, allocations: 0.4945 MB / 0.7432 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.7931, allocations: 298.6 kB / 0.7435 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.7932, allocations: 16.09 kB / 0.7435 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.7935, allocations: 76.97 kB / 0.7436 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.7937, allocations: 146.9 kB / 0.7437 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.7938, allocations: 103.4 kB / 0.7438 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.7942, allocations: 407.6 kB / 0.7442 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7942, allocations: 4 kB / 0.7442 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7943, allocations: 1.5 kB / 0.7442 GB, free: 15.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7943, allocations: 0 / 0.7442 GB, free: 15.2 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.001013/0.7953, allocations: 0.5972 MB / 0.7448 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7953, allocations: 9.344 kB / 0.7448 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.7955, allocations: 46.61 kB / 0.7448 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.796, allocations: 314.1 kB / 0.7451 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.796, allocations: 27.42 kB / 0.7451 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.796, allocations: 30.62 kB / 0.7452 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.7967, allocations: 402.2 kB / 0.7456 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7967, allocations: 3.25 kB / 0.7456 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.7967, allocations: 14.06 kB / 0.7456 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.7968, allocations: 6.75 kB / 0.7456 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.7973, allocations: 294.1 kB / 0.7459 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.7994, allocations: 1.436 MB / 0.7473 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.7996, allocations: 87.41 kB / 0.7473 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.7998, allocations: 51.58 kB / 0.7474 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.8001, allocations: 127 kB / 0.7475 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.8002, allocations: 43.7 kB / 0.7476 GB, free: 13.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.8002, allocations: 0 / 0.7476 GB, free: 13.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004667/0.8006, allocations: 178.3 kB / 0.7477 GB, free: 13.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.8007, allocations: 55.7 kB / 0.7478 GB, free: 13.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.8012, allocations: 427.2 kB / 0.7482 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.8012, allocations: 31.42 kB / 0.7482 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.8014, allocations: 215.9 kB / 0.7484 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.8014, allocations: 24.69 kB / 0.7484 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.8014, allocations: 10.02 kB / 0.7485 GB, free: 12.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8016, allocations: 348.2 kB / 0.7488 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.8018, allocations: 71.2 kB / 0.7489 GB, free: 12.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.8021, allocations: 176.6 kB / 0.749 GB, free: 12.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.8023, allocations: 98.41 kB / 0.7491 GB, free: 12.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8023, allocations: 1.062 kB / 0.7491 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000548/0.8028, allocations: 298 kB / 0.7494 GB, free: 12.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8029, allocations: 10.97 kB / 0.7494 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8029, allocations: 3.062 kB / 0.7494 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8029, allocations: 5.406 kB / 0.7494 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.8031, allocations: 57.31 kB / 0.7495 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.8032, allocations: 5.219 kB / 0.7495 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.8035, allocations: 58.42 kB / 0.7495 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.8035, allocations: 9.062 kB / 0.7495 GB, free: 12.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.8038, allocations: 170.1 kB / 0.7497 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.8038, allocations: 34.25 kB / 0.7497 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.8042, allocations: 163.7 kB / 0.7499 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8042, allocations: 2.797 kB / 0.7499 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8042, allocations: 0 / 0.7499 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8042, allocations: 1.094 kB / 0.7499 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.805, allocations: 0.5312 MB / 0.7504 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.805, allocations: 8.266 kB / 0.7504 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.8051, allocations: 13.28 kB / 0.7504 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.8051, allocations: 6.359 kB / 0.7504 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8051, allocations: 3.938 kB / 0.7505 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8051, allocations: 2.781 kB / 0.7505 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8051, allocations: 0 / 0.7505 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.8056, allocations: 322.1 kB / 0.7508 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.8058, allocations: 133.8 kB / 0.7509 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.8058, allocations: 2.75 kB / 0.7509 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.8061, allocations: 22.22 kB / 0.7509 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.8062, allocations: 4.125 kB / 0.7509 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.8062, allocations: 13.8 kB / 0.7509 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003746/0.8066, allocations: 311.2 kB / 0.7512 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8066, allocations: 1.859 kB / 0.7512 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000495/0.8071, allocations: 91.19 kB / 0.7513 GB, free: 11.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004164/0.8075, allocations: 149.4 kB / 0.7515 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.8079, allocations: 160.2 kB / 0.7516 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8079, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.808, allocations: 50.78 kB / 0.7517 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.809, allocations: 181.2 kB / 0.7518 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.8101, allocations: 0.7208 MB / 0.7525 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.8105, allocations: 0.791 MB / 0.7533 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.8108, allocations: 75.2 kB / 0.7534 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.8109, allocations: 30.06 kB / 0.7534 GB, free: 9.691 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.8109, allocations: 0 / 0.7534 GB, free: 9.691 MB / 0.545 GB Notification: Performance of Templates: time 0.01292/0.8238, allocations: 6.134 MB / 0.7594 GB, free: 6.688 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: