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.001459/0.001459, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 67 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1962/0.5856, allocations: 163.1 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.5893, allocations: 1.54 MB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.5898, allocations: 7.938 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.5905, allocations: 123.2 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.5923, allocations: 438.2 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.5948, allocations: 0.7045 MB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.5959, allocations: 0.702 MB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.5965, allocations: 246.7 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.5973, allocations: 318.8 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.5978, allocations: 235.1 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.5978, allocations: 24 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5995, allocations: 0.8962 MB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.5998, allocations: 115.7 kB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.6001, allocations: 167.2 kB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.6018, allocations: 0.7752 MB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6018, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6018, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.6019, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 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.0015/0.6034, allocations: 0.6702 MB / 1.234 GB, free: 180 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6034, allocations: 12.03 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.604, allocations: 87.5 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.6045, allocations: 305.8 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.6045, allocations: 16.56 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.6046, allocations: 27.98 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.6054, allocations: 332.2 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6054, allocations: 0 / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.6055, allocations: 12 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.6055, allocations: 7.938 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.6063, allocations: 285.5 kB / 1.235 GB, free: 15.06 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.002037/0.6084, allocations: 1.075 MB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.6094, allocations: 319.7 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.6097, allocations: 140.8 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007975/0.6105, allocations: 392.3 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6106, allocations: 30.56 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 4.429e-06/0.6106, allocations: 3.984 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001257/0.6118, allocations: 419.4 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.6119, allocations: 51.41 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6122, allocations: 267 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.6122, allocations: 29.7 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6123, allocations: 168.2 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.6124, allocations: 74.94 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.6125, allocations: 45.7 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6127, allocations: 338.8 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.613, allocations: 103.9 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.6134, allocations: 164.8 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.614, allocations: 278.1 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.6141, allocations: 0 / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007645/0.6148, allocations: 313.1 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6149, allocations: 8 kB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6149, allocations: 0 / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.6149, allocations: 7.938 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.6152, allocations: 59.89 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6152, allocations: 4 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.6156, allocations: 43.84 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.6157, allocations: 8 kB / 1.239 GB, free: 10.51 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.0001797/0.6158, allocations: 153.8 kB / 1.239 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.6159, allocations: 23.72 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009051/0.6168, allocations: 321.6 kB / 1.239 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6168, allocations: 7.938 kB / 1.239 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6168, allocations: 0 / 1.239 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6169, allocations: 0 / 1.239 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.6186, allocations: 0.9325 MB / 1.24 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.6186, allocations: 0 / 1.24 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.6189, allocations: 55.84 kB / 1.24 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.6189, allocations: 4 kB / 1.24 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6189, allocations: 7.984 kB / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6189, allocations: 0 / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6189, allocations: 4 kB / 1.24 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.6201, allocations: 0.5603 MB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.6204, allocations: 128.8 kB / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.6204, allocations: 4 kB / 1.241 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.6207, allocations: 35.97 kB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.6208, allocations: 23.91 kB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.6208, allocations: 12 kB / 1.241 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002841/0.6211, allocations: 190 kB / 1.241 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6211, allocations: 0 / 1.241 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005526/0.6217, allocations: 107.8 kB / 1.241 GB, free: 7.793 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.0006979/0.6224, allocations: 203.6 kB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007735/0.6231, allocations: 263.9 kB / 1.242 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6232, allocations: 4 kB / 1.242 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.6235, allocations: 135.8 kB / 1.242 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.6243, allocations: 125.2 kB / 1.242 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.6256, allocations: 0.7049 MB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.626, allocations: 0.7794 MB / 1.244 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.6263, allocations: 66.23 kB / 1.244 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.6264, allocations: 31.44 kB / 1.244 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.6264, allocations: 0 / 1.244 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of Templates: time 0.5569/1.183, allocations: 5.772 MB / 1.249 GB, free: 186.1 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)