Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002484/0.002484, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.86 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3327, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1841/0.5168, allocations: 165.3 MB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.5203, allocations: 1.551 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.521, allocations: 7.938 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.5217, allocations: 142.9 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.5234, allocations: 465.9 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.5259, allocations: 0.7587 MB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.5271, allocations: 0.7059 MB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.5278, allocations: 258.7 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008639/0.5286, allocations: 310.8 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.5291, allocations: 223.1 kB / 1.234 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.5292, allocations: 24 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.5315, allocations: 0.8613 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.5317, allocations: 115.7 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.532, allocations: 159.2 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.5339, allocations: 0.7364 MB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5339, allocations: 0 / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5339, allocations: 0 / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.534, allocations: 0 / 1.236 GB, free: 14.3 MB / 0.9981 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.001432/0.5354, allocations: 0.6779 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5355, allocations: 8.031 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.536, allocations: 83.5 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.5365, allocations: 301.8 kB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5365, allocations: 20.56 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.5366, allocations: 24 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.5373, allocations: 332.2 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5373, allocations: 0 / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.5374, allocations: 8 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5374, allocations: 11.94 kB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.5381, allocations: 285.5 kB / 1.237 GB, free: 12.46 MB / 0.9981 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.001871/0.54, allocations: 1.083 MB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.541, allocations: 319.7 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.5414, allocations: 128.8 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.5421, allocations: 400.3 kB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5422, allocations: 38.56 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.5422, allocations: 0 / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001373/0.5436, allocations: 406.8 kB / 1.24 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.5436, allocations: 55.41 kB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.5439, allocations: 263 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.544, allocations: 29.7 kB / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.5441, allocations: 168.2 kB / 1.24 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.5442, allocations: 78.94 kB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.5443, allocations: 45.7 kB / 1.24 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5444, allocations: 334.8 kB / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.5447, allocations: 99.91 kB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.5451, allocations: 165.8 kB / 1.241 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.5458, allocations: 275.1 kB / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5458, allocations: 0 / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007838/0.5466, allocations: 313.1 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5466, allocations: 4 kB / 1.241 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5467, allocations: 4 kB / 1.241 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5467, allocations: 3.938 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.547, allocations: 60.05 kB / 1.241 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.547, allocations: 4 kB / 1.242 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.5473, allocations: 39.72 kB / 1.242 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5473, allocations: 8 kB / 1.242 GB, free: 7.934 MB / 0.9981 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.0001987/0.5476, allocations: 157.8 kB / 1.242 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.5476, allocations: 23.78 kB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.5485, allocations: 329.4 kB / 1.242 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5485, allocations: 7.938 kB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5486, allocations: 0 / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5486, allocations: 3.938 kB / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.5503, allocations: 0.933 MB / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5504, allocations: 0 / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.5506, allocations: 47.91 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.5507, allocations: 4 kB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.5507, allocations: 11.98 kB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5507, allocations: 0 / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5507, allocations: 4 kB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5519, allocations: 0.5602 MB / 1.244 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.552, allocations: 124.8 kB / 1.244 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.5521, allocations: 8 kB / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.5524, allocations: 19.97 kB / 1.244 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.5524, allocations: 27.92 kB / 1.244 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.5525, allocations: 15.98 kB / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001998/0.5527, allocations: 186 kB / 1.244 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5527, allocations: 0 / 1.244 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005188/0.5532, allocations: 115.8 kB / 1.244 GB, free: 5.203 MB / 0.9981 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.0005639/0.5538, allocations: 196.5 kB / 1.244 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.5546, allocations: 271.6 kB / 1.244 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5547, allocations: 4.312 kB / 1.244 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.555, allocations: 135.8 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.5559, allocations: 130.5 kB / 1.245 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.5572, allocations: 0.6112 MB / 1.245 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5575, allocations: 0.7833 MB / 1.246 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.5578, allocations: 58.27 kB / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.5579, allocations: 23.44 kB / 1.246 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.5579, allocations: 4 kB / 1.246 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.547/1.105, allocations: 5.945 MB / 1.252 GB, free: 185.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)