Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") [/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.1961/0.1981, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity): time 0.003026/0.2012, allocations: 1.567 MB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2026, allocations: 0.9145 MB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.2026, allocations: 7.938 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2029, allocations: 23.84 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.2031, allocations: 39.78 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2034, allocations: 79.2 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.2037, allocations: 201.7 kB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2038, allocations: 24.11 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.2039, allocations: 55.91 kB / 0.6735 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2041, allocations: 79.78 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.2041, allocations: 19.94 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2042, allocations: 67.95 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2043, allocations: 67.83 kB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2044, allocations: 91.41 kB / 0.6738 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.2048, allocations: 246.9 kB / 0.674 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2048, allocations: 0 / 0.674 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2048, allocations: 4 kB / 0.674 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2048, allocations: 0 / 0.674 GB, free: 14.51 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008122/0.2056, allocations: 0.5148 MB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2057, allocations: 8.031 kB / 0.6745 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.2058, allocations: 24.8 kB / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.206, allocations: 256.8 kB / 0.6748 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2061, allocations: 15.94 kB / 0.6748 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2061, allocations: 12 kB / 0.6748 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.2064, allocations: 199.1 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2064, allocations: 0 / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2065, allocations: 8 kB / 0.675 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2065, allocations: 4 kB / 0.675 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.2073, allocations: 0.7346 MB / 0.6757 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.2082, allocations: 0.5396 MB / 0.6763 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.2086, allocations: 305.2 kB / 0.6766 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2088, allocations: 109.4 kB / 0.6767 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.2088, allocations: 20.23 kB / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.2093, allocations: 164.9 kB / 0.6768 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 4.118e-06/0.2093, allocations: 0 / 0.6768 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0005997/0.2099, allocations: 373.2 kB / 0.6772 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.21, allocations: 89.05 kB / 0.6773 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.2103, allocations: 286.8 kB / 0.6776 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.2103, allocations: 33.7 kB / 0.6776 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.2104, allocations: 120.7 kB / 0.6777 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.2105, allocations: 118.9 kB / 0.6778 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.2106, allocations: 57.7 kB / 0.6779 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2107, allocations: 338.8 kB / 0.6782 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2108, allocations: 79.95 kB / 0.6783 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.211, allocations: 113.5 kB / 0.6784 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2113, allocations: 212.9 kB / 0.6786 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2113, allocations: 0 / 0.6786 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003872/0.2117, allocations: 277.7 kB / 0.6789 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2117, allocations: 4 kB / 0.6789 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2117, allocations: 0 / 0.6789 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2118, allocations: 0 / 0.6789 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.212, allocations: 63.91 kB / 0.6789 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.212, allocations: 7.969 kB / 0.6789 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.2121, allocations: 23.88 kB / 0.6789 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2121, allocations: 12 kB / 0.679 GB, free: 9.195 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.2122, allocations: 153.8 kB / 0.6791 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2123, allocations: 27.81 kB / 0.6791 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/0.2124, allocations: 38.64 kB / 0.6792 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2124, allocations: 8 kB / 0.6792 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2124, allocations: 7.938 kB / 0.6792 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2124, allocations: 7.984 kB / 0.6792 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.2128, allocations: 309.4 kB / 0.6795 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2128, allocations: 0 / 0.6795 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.2129, allocations: 59.91 kB / 0.6795 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.213, allocations: 0 / 0.6795 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.213, allocations: 11.98 kB / 0.6796 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.213, allocations: 0 / 0.6796 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.213, allocations: 7.938 kB / 0.6796 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.2135, allocations: 310 kB / 0.6799 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2136, allocations: 140.8 kB / 0.68 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2136, allocations: 8 kB / 0.68 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.2137, allocations: 7.938 kB / 0.68 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.2138, allocations: 27.91 kB / 0.68 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.2138, allocations: 15.98 kB / 0.6801 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001992/0.214, allocations: 220.4 kB / 0.6803 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.214, allocations: 3.938 kB / 0.6803 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000292/0.2143, allocations: 59.95 kB / 0.6803 GB, free: 7.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009903/0.2153, allocations: 402.3 kB / 0.6807 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.2158, allocations: 227.7 kB / 0.6809 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2158, allocations: 0 / 0.6809 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.216, allocations: 128.1 kB / 0.681 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2163, allocations: 35.91 kB / 0.6811 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.2172, allocations: 0.4918 MB / 0.6816 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.2176, allocations: 0.7496 MB / 0.6823 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.2179, allocations: 138.9 kB / 0.6824 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.218, allocations: 39.42 kB / 0.6825 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of SimCode: time 1.954e-06/0.218, allocations: 0 / 0.6825 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.006084/0.2241, allocations: 2.529 MB / 0.6849 GB, free: 3.105 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe 2>&1)