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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8492/0.8492, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 174.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007566/0.0007568, allocations: 78.42 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001672/0.001672, allocations: 273.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 23.98 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4158, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.184/5.6, allocations: 2.034 GB / 2.773 GB, free: 176.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/5.601, allocations: 91.95 kB / 2.773 GB, free: 176.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8884/6.489, allocations: 221.2 MB / 2.989 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.43e-06/6.489, allocations: 0 / 2.989 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.462e-05/6.489, allocations: 13.94 kB / 2.989 GB, free: 186.9 MB / 0.6667 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.002235/6.491, allocations: 0.7024 MB / 2.99 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/6.492, allocations: 13.44 kB / 2.99 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/6.492, allocations: 78.84 kB / 2.99 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/6.493, allocations: 322.1 kB / 2.991 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/6.493, allocations: 20.03 kB / 2.991 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/6.493, allocations: 26.91 kB / 2.991 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/6.494, allocations: 342.3 kB / 2.991 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/6.494, allocations: 0 / 2.991 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/6.494, allocations: 15.09 kB / 2.991 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/6.494, allocations: 3.156 kB / 2.991 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/6.495, allocations: 304.2 kB / 2.991 GB, free: 186.1 MB / 0.6667 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.002064/6.497, allocations: 1.064 MB / 2.992 GB, free: 185.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/6.498, allocations: 334.2 kB / 2.993 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/6.498, allocations: 147.3 kB / 2.993 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/6.499, allocations: 393.7 kB / 2.993 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/6.499, allocations: 34.44 kB / 2.993 GB, free: 185 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=19): time 2.454e-06/6.499, allocations: 0 / 2.993 GB, free: 185 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.00119/6.5, allocations: 445.2 kB / 2.994 GB, free: 185 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/6.5, allocations: 57.83 kB / 2.994 GB, free: 184.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/6.5, allocations: 268.9 kB / 2.994 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/6.501, allocations: 32.27 kB / 2.994 GB, free: 184.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/6.501, allocations: 169.4 kB / 2.994 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/6.501, allocations: 66.94 kB / 2.994 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/6.501, allocations: 0 / 2.994 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/6.501, allocations: 339.7 kB / 2.994 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/6.501, allocations: 115.7 kB / 2.995 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/6.501, allocations: 195.4 kB / 2.995 GB, free: 184.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/6.502, allocations: 288.9 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.502, allocations: 0 / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006967/6.503, allocations: 352.8 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/6.503, allocations: 7.438 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/6.503, allocations: 0 / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/6.503, allocations: 3.969 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/6.503, allocations: 70.11 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/6.503, allocations: 3.281 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/6.503, allocations: 54 kB / 2.995 GB, free: 184.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/6.503, allocations: 7.156 kB / 2.995 GB, free: 184.2 MB / 0.6667 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.0001854/6.504, allocations: 157.1 kB / 2.996 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/6.504, allocations: 26.78 kB / 2.996 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/6.505, allocations: 353.6 kB / 2.996 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/6.505, allocations: 3.938 kB / 2.996 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/6.505, allocations: 3.812 kB / 2.996 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/6.505, allocations: 2.875 kB / 2.996 GB, free: 184 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/6.506, allocations: 0.9501 MB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/6.506, allocations: 3.938 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/6.507, allocations: 54.34 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/6.507, allocations: 6.469 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/6.507, allocations: 9.531 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/6.507, allocations: 7.578 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/6.507, allocations: 3.938 kB / 2.997 GB, free: 183.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/6.508, allocations: 0.5849 MB / 2.998 GB, free: 183.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/6.508, allocations: 124 kB / 2.998 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/6.508, allocations: 3.438 kB / 2.998 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/6.508, allocations: 46.41 kB / 2.998 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/6.508, allocations: 24.11 kB / 2.998 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/6.508, allocations: 9.594 kB / 2.998 GB, free: 183.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001731/6.508, allocations: 198.5 kB / 2.998 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/6.509, allocations: 0 / 2.998 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000889/6.509, allocations: 200.6 kB / 2.998 GB, free: 183.1 MB / 0.6667 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.001975/6.511, allocations: 1.016 MB / 2.999 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007292/6.512, allocations: 276.4 kB / 2.999 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.512, allocations: 0 / 2.999 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/6.512, allocations: 156.9 kB / 3 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007944/6.513, allocations: 122 kB / 3 GB, free: 182.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/6.514, allocations: 0.7144 MB / 3 GB, free: 182.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/6.515, allocations: 0.7793 MB / 3.001 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002869/6.515, allocations: 65.56 kB / 3.001 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/6.515, allocations: 26.66 kB / 3.001 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of SimCode: time 6.32e-07/6.515, allocations: 0 / 3.001 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02548/6.541, allocations: 17.42 MB / 3.018 GB, free: 179.3 MB / 0.6667 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)