Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8289/0.8289, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 169.1 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 447.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008895, allocations: 88.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001748, allocations: 272.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 20.73 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.876/4.029, allocations: 1.83 GB / 2.603 GB, free: 248.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/4.029, allocations: 94.45 kB / 2.603 GB, free: 248.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.4133/4.442, allocations: 223.7 MB / 2.822 GB, free: 24.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/4.442, allocations: 0 / 2.822 GB, free: 24.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.263e-05/4.443, allocations: 4 kB / 2.822 GB, free: 24.16 MB / 0.7136 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.00163/4.444, allocations: 0.702 MB / 2.823 GB, free: 23.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/4.444, allocations: 16.02 kB / 2.823 GB, free: 23.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/4.445, allocations: 83.56 kB / 2.823 GB, free: 23.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/4.445, allocations: 313.9 kB / 2.823 GB, free: 22.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/4.445, allocations: 20.56 kB / 2.823 GB, free: 22.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/4.445, allocations: 24 kB / 2.823 GB, free: 22.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/4.446, allocations: 336.2 kB / 2.823 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/4.446, allocations: 0 / 2.823 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/4.446, allocations: 16 kB / 2.823 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/4.446, allocations: 4 kB / 2.823 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/4.447, allocations: 305.5 kB / 2.824 GB, free: 22.25 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.001563/4.448, allocations: 1.059 MB / 2.825 GB, free: 21.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/4.449, allocations: 335.6 kB / 2.825 GB, free: 20.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/4.45, allocations: 396.3 kB / 2.825 GB, free: 20.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/4.45, allocations: 38.56 kB / 2.825 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 3.116e-06/4.45, allocations: 0 / 2.825 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001274/4.451, allocations: 439.3 kB / 2.826 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/4.451, allocations: 59.39 kB / 2.826 GB, free: 19.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/4.452, allocations: 230.2 kB / 2.826 GB, free: 19.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/4.452, allocations: 33.7 kB / 2.826 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/4.452, allocations: 168.2 kB / 2.826 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/4.452, allocations: 67.02 kB / 2.826 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/4.452, allocations: 4 kB / 2.826 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/4.452, allocations: 334.8 kB / 2.827 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/4.452, allocations: 119.9 kB / 2.827 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/4.452, allocations: 183.6 kB / 2.827 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/4.453, allocations: 137.7 kB / 2.827 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/4.453, allocations: 0 / 2.827 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007658/4.454, allocations: 345.1 kB / 2.827 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/4.454, allocations: 8 kB / 2.827 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/4.454, allocations: 0 / 2.827 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/4.454, allocations: 7.938 kB / 2.827 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/4.454, allocations: 64.02 kB / 2.828 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/4.454, allocations: 8 kB / 2.828 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/4.454, allocations: 51.66 kB / 2.828 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/4.454, allocations: 19.92 kB / 2.828 GB, free: 17.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002047/4.455, allocations: 149.8 kB / 2.828 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/4.455, allocations: 31.61 kB / 2.828 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/4.456, allocations: 344.9 kB / 2.828 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/4.456, allocations: 0 / 2.828 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/4.456, allocations: 11.98 kB / 2.828 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/4.456, allocations: 0 / 2.828 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/4.457, allocations: 0.9409 MB / 2.829 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/4.457, allocations: 4.125 kB / 2.829 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/4.458, allocations: 64.08 kB / 2.829 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/4.458, allocations: 8 kB / 2.829 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/4.458, allocations: 4 kB / 2.829 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/4.458, allocations: 4 kB / 2.829 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/4.458, allocations: 0 / 2.829 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/4.459, allocations: 0.6758 MB / 2.83 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/4.459, allocations: 124.8 kB / 2.83 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/4.459, allocations: 4 kB / 2.83 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/4.459, allocations: 31.97 kB / 2.83 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/4.459, allocations: 24.03 kB / 2.83 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/4.459, allocations: 11.95 kB / 2.83 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001865/4.46, allocations: 190 kB / 2.83 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/4.46, allocations: 0 / 2.83 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001031/4.461, allocations: 199.8 kB / 2.83 GB, free: 14.95 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 (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.001923/4.463, allocations: 1.028 MB / 2.831 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007273/4.463, allocations: 275.9 kB / 2.832 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/4.463, allocations: 4 kB / 2.832 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/4.464, allocations: 152.2 kB / 2.832 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/4.464, allocations: 125.6 kB / 2.832 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/4.466, allocations: 0.7035 MB / 2.833 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/4.466, allocations: 0.7878 MB / 2.833 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002749/4.466, allocations: 66.23 kB / 2.833 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/4.466, allocations: 23.44 kB / 2.833 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/4.466, allocations: 0 / 2.833 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.3798/4.846, allocations: 17.28 MB / 2.85 GB, free: 196.2 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)