Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [/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.1884/0.1892, allocations: 82.21 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6049/0.7942, allocations: 150.2 MB / 0.7402 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.7971, allocations: 1.362 MB / 0.7415 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.7975, allocations: 13.25 kB / 0.7415 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.7983, allocations: 156.2 kB / 0.7416 GB, free: 15.59 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.0009465/0.7992, allocations: 325.7 kB / 0.742 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.8014, allocations: 0.6148 MB / 0.7426 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.8031, allocations: 1.223 MB / 0.7437 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.8037, allocations: 288.4 kB / 0.744 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.805, allocations: 442.2 kB / 0.7444 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.8056, allocations: 326.1 kB / 0.7448 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.8056, allocations: 23.84 kB / 0.7448 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.807, allocations: 430.4 kB / 0.7452 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.8073, allocations: 167.6 kB / 0.7453 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.8076, allocations: 112.3 kB / 0.7455 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.809, allocations: 0.6108 MB / 0.7461 GB, free: 14.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.809, allocations: 0 / 0.7461 GB, free: 14.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.809, allocations: 0 / 0.7461 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.8091, allocations: 0 / 0.7461 GB, free: 14.92 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001849/0.8109, allocations: 0.7323 MB / 0.7468 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.811, allocations: 9.156 kB / 0.7468 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.8115, allocations: 80.61 kB / 0.7469 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.8121, allocations: 338.7 kB / 0.7472 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.8122, allocations: 33.44 kB / 0.7472 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.8123, allocations: 35.62 kB / 0.7472 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.8135, allocations: 0.503 MB / 0.7477 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.8136, allocations: 0 / 0.7477 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.8136, allocations: 18.41 kB / 0.7478 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.8137, allocations: 8.031 kB / 0.7478 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.8147, allocations: 437.6 kB / 0.7482 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.8175, allocations: 1.698 MB / 0.7498 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.8183, allocations: 326.7 kB / 0.7501 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.8187, allocations: 157.9 kB / 0.7503 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004716/0.8192, allocations: 224.2 kB / 0.7505 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8192, allocations: 36.25 kB / 0.7505 GB, free: 12.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.476e-06/0.8192, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.00102/0.8203, allocations: 460.5 kB / 0.751 GB, free: 12.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.8203, allocations: 58.7 kB / 0.751 GB, free: 12.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.8207, allocations: 375.2 kB / 0.7514 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.8208, allocations: 34.8 kB / 0.7514 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.8209, allocations: 227 kB / 0.7516 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.821, allocations: 67.16 kB / 0.7517 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.821, allocations: 10.03 kB / 0.7517 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.8212, allocations: 338.1 kB / 0.752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.8215, allocations: 142.5 kB / 0.7522 GB, free: 11.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.8219, allocations: 221.7 kB / 0.7524 GB, free: 11.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.8222, allocations: 170.7 kB / 0.7526 GB, free: 11.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8222, allocations: 0 / 0.7526 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007958/0.823, allocations: 431.6 kB / 0.753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.823, allocations: 5.125 kB / 0.753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8231, allocations: 6.844 kB / 0.753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.8231, allocations: 5.406 kB / 0.753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.8234, allocations: 80.67 kB / 0.7531 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.8234, allocations: 7.016 kB / 0.7531 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.8238, allocations: 77.69 kB / 0.7531 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.8238, allocations: 14.53 kB / 0.7532 GB, free: 11.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * 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.0002149/0.8241, allocations: 175.2 kB / 0.7533 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.8241, allocations: 33.78 kB / 0.7534 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.8249, allocations: 380.5 kB / 0.7537 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.825, allocations: 3.281 kB / 0.7537 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.825, allocations: 0 / 0.7537 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.825, allocations: 11.97 kB / 0.7537 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.8266, allocations: 0.9957 MB / 0.7547 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.8266, allocations: 0 / 0.7547 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.8269, allocations: 63.08 kB / 0.7548 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8269, allocations: 3.031 kB / 0.7548 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.8269, allocations: 10.77 kB / 0.7548 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8269, allocations: 0 / 0.7548 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8269, allocations: 3.375 kB / 0.7548 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8281, allocations: 0.6199 MB / 0.7554 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.8282, allocations: 149 kB / 0.7555 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.8283, allocations: 9.203 kB / 0.7555 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.8287, allocations: 47.23 kB / 0.7556 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.8287, allocations: 17.97 kB / 0.7556 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.8288, allocations: 18.7 kB / 0.7556 GB, free: 9.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002612/0.8291, allocations: 265.8 kB / 0.7559 GB, free: 9.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8291, allocations: 0 / 0.7559 GB, free: 9.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005056/0.8296, allocations: 147.6 kB / 0.756 GB, free: 9.547 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (relHum.phi) * 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 (21): * Single equations (assignments): 21 * 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.000442/0.83, allocations: 201.2 kB / 0.7562 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007244/0.8308, allocations: 322.1 kB / 0.7565 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8308, allocations: 4.188 kB / 0.7565 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.8311, allocations: 156.3 kB / 0.7567 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.832, allocations: 179.5 kB / 0.7568 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.8335, allocations: 0.8779 MB / 0.7577 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.8339, allocations: 0.8201 MB / 0.7585 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.8343, allocations: 85.47 kB / 0.7586 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.19e-05/0.8344, allocations: 32.84 kB / 0.7586 GB, free: 7.883 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.8344, allocations: 0 / 0.7586 GB, free: 7.883 MB / 0.545 GB Notification: Performance of Templates: time 0.01322/0.8476, allocations: 7.338 MB / 0.7658 GB, free: 4.27 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: