Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 181.1 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205 MB / 0.5766 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 91.73 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8.688 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2048, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1603/0.3652, allocations: 162.8 MB / 1.056 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4515/0.8168, allocations: 1.614 MB / 1.057 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.8171, allocations: 12.19 kB / 1.057 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.8176, allocations: 110.2 kB / 1.057 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.8188, allocations: 446.5 kB / 1.058 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.8207, allocations: 0.6803 MB / 1.059 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.8218, allocations: 0.9856 MB / 1.059 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.8222, allocations: 217.2 kB / 1.06 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.8227, allocations: 279.5 kB / 1.06 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.8231, allocations: 226.4 kB / 1.06 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.8231, allocations: 13.69 kB / 1.06 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.8249, allocations: 0.979 MB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.8251, allocations: 103.8 kB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.8253, allocations: 142.3 kB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.8262, allocations: 0.5182 MB / 1.062 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.8262, allocations: 3.516 kB / 1.062 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8262, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8262, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001211/0.8274, allocations: 0.6302 MB / 1.062 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8275, allocations: 8.688 kB / 1.062 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.828, allocations: 82.12 kB / 1.063 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.8284, allocations: 301.8 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.8284, allocations: 15.09 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.8285, allocations: 25.62 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.8292, allocations: 349.5 kB / 1.063 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8292, allocations: 0 / 1.063 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.8292, allocations: 14.94 kB / 1.063 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.8292, allocations: 6.422 kB / 1.063 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.83, allocations: 316.4 kB / 1.064 GB, free: 16.94 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.8317, allocations: 1.079 MB / 1.065 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.8327, allocations: 340.7 kB / 1.065 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.833, allocations: 154.1 kB / 1.065 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/0.8338, allocations: 410.7 kB / 1.065 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.8339, allocations: 35.25 kB / 1.066 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/0.8339, allocations: 0 / 1.066 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001419/0.8353, allocations: 459 kB / 1.066 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.8353, allocations: 56.94 kB / 1.066 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.8357, allocations: 261.5 kB / 1.066 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.8357, allocations: 27.67 kB / 1.066 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8359, allocations: 169.3 kB / 1.066 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.8359, allocations: 61.16 kB / 1.066 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.836, allocations: 24.92 kB / 1.067 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8361, allocations: 340.1 kB / 1.067 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.8365, allocations: 119.3 kB / 1.067 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.8368, allocations: 170.6 kB / 1.067 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.8375, allocations: 306.4 kB / 1.067 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8375, allocations: 1.312 kB / 1.067 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008519/0.8384, allocations: 345.2 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8384, allocations: 6.984 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.8384, allocations: 6.312 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8385, allocations: 6.438 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.8388, allocations: 62.77 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.8388, allocations: 6.766 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.8391, allocations: 62.19 kB / 1.068 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.8391, allocations: 11.23 kB / 1.068 GB, free: 14.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.000188/0.8393, allocations: 151.8 kB / 1.068 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.8394, allocations: 24 kB / 1.068 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/0.8403, allocations: 353.6 kB / 1.068 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.8403, allocations: 1.844 kB / 1.068 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8403, allocations: 5.344 kB / 1.068 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8403, allocations: 2.344 kB / 1.068 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.842, allocations: 0.9608 MB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.842, allocations: 5.625 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.8423, allocations: 55.61 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.8423, allocations: 2.938 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.8423, allocations: 7.188 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.8423, allocations: 5.656 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8424, allocations: 5.516 kB / 1.069 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.8436, allocations: 0.6087 MB / 1.07 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8438, allocations: 131 kB / 1.07 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.8438, allocations: 4.969 kB / 1.07 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.8441, allocations: 33.8 kB / 1.07 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.8442, allocations: 26.34 kB / 1.07 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.8442, allocations: 8.188 kB / 1.07 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001979/0.8444, allocations: 192.3 kB / 1.07 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.193e-06/0.8444, allocations: 0 / 1.07 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005076/0.8449, allocations: 109 kB / 1.071 GB, free: 13.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.0004825/0.8454, allocations: 198.1 kB / 1.071 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007842/0.8462, allocations: 286.1 kB / 1.071 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8462, allocations: 0.75 kB / 1.071 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.8466, allocations: 153.7 kB / 1.071 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.8475, allocations: 132.6 kB / 1.071 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.8486, allocations: 0.7212 MB / 1.072 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.8489, allocations: 0.7733 MB / 1.073 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.8491, allocations: 33.06 kB / 1.073 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.8491, allocations: 0 / 1.073 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.008366/0.8574, allocations: 4.995 MB / 1.078 GB, free: 12.12 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)