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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 283.5 kB / 303.6 MB, free: 3.734 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 180.9 MB / 0.5268 GB, free: 3.055 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 119.8 kB / 0.7259 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.538, allocations: 94.15 MB / 0.8179 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.2012/0.7392, allocations: 165.8 MB / 0.9798 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003067/0.7423, allocations: 1.559 MB / 0.9813 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.7426, allocations: 11.94 kB / 0.9813 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.7431, allocations: 150.9 kB / 0.9815 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.7443, allocations: 489.8 kB / 0.9819 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.7462, allocations: 0.7665 MB / 0.9827 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.7471, allocations: 0.7059 MB / 0.9834 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.7475, allocations: 228.6 kB / 0.9836 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.748, allocations: 310.9 kB / 0.9839 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.7483, allocations: 247 kB / 0.9841 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.7484, allocations: 24 kB / 0.9841 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.75, allocations: 0.9196 MB / 0.985 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.7501, allocations: 115.7 kB / 0.9852 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.7503, allocations: 159.2 kB / 0.9853 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.7514, allocations: 0.7359 MB / 0.986 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7514, allocations: 0 / 0.986 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7514, allocations: 0 / 0.986 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7514, allocations: 4 kB / 0.986 GB, free: 4.328 MB / 0.7169 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.001223/0.7526, allocations: 0.6887 MB / 0.9867 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7527, allocations: 8.031 kB / 0.9867 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.7532, allocations: 95.62 kB / 0.9868 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.7537, allocations: 310.1 kB / 0.9871 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7537, allocations: 24.56 kB / 0.9871 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.7537, allocations: 24 kB / 0.9871 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.7544, allocations: 336.2 kB / 0.9875 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7544, allocations: 3.984 kB / 0.9875 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.7545, allocations: 4 kB / 0.9875 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.7545, allocations: 11.94 kB / 0.9875 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006871/0.7552, allocations: 285.5 kB / 0.9878 GB, free: 2.465 MB / 0.7169 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.001745/0.7569, allocations: 1.067 MB / 0.9888 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.7578, allocations: 315.6 kB / 0.9891 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.7581, allocations: 132.8 kB / 0.9892 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/0.7588, allocations: 396.3 kB / 0.9896 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7589, allocations: 34.56 kB / 0.9896 GB, free: 368 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.7589, allocations: 0 / 0.9896 GB, free: 368 kB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001191/0.76, allocations: 415.5 kB / 0.99 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7601, allocations: 51.41 kB / 0.9901 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.7604, allocations: 271 kB / 0.9903 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.7604, allocations: 33.64 kB / 0.9904 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.7605, allocations: 176.3 kB / 0.9905 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.7606, allocations: 67.42 kB / 0.9906 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.7607, allocations: 41.7 kB / 0.9906 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7609, allocations: 338.8 kB / 0.991 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.7611, allocations: 103.9 kB / 0.9911 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.7615, allocations: 161.9 kB / 0.9912 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.7621, allocations: 263 kB / 0.9915 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7621, allocations: 3.938 kB / 0.9915 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007575/0.7629, allocations: 321.2 kB / 0.9918 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7629, allocations: 8 kB / 0.9918 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7629, allocations: 0 / 0.9918 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.7629, allocations: 7.938 kB / 0.9918 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.7632, allocations: 64.05 kB / 0.9919 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7632, allocations: 4 kB / 0.9919 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.7634, allocations: 43.75 kB / 0.9919 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.7635, allocations: 4 kB / 0.9919 GB, free: 13.94 MB / 0.7325 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.0001728/0.7636, allocations: 150.3 kB / 0.992 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.7637, allocations: 23.86 kB / 0.9921 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.7644, allocations: 326.1 kB / 0.9924 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7645, allocations: 3.938 kB / 0.9924 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7645, allocations: 0 / 0.9924 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7645, allocations: 0 / 0.9924 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.7661, allocations: 0.9331 MB / 0.9933 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.7661, allocations: 8.062 kB / 0.9933 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.7663, allocations: 51.95 kB / 0.9934 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7663, allocations: 0 / 0.9934 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.7664, allocations: 4 kB / 0.9934 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7664, allocations: 7.938 kB / 0.9934 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7664, allocations: 0 / 0.9934 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.7675, allocations: 0.5665 MB / 0.9939 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.7676, allocations: 136.8 kB / 0.994 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.7677, allocations: 0 / 0.994 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.7679, allocations: 27.86 kB / 0.9941 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.768, allocations: 27.97 kB / 0.9941 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.768, allocations: 8 kB / 0.9941 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001942/0.7682, allocations: 194 kB / 0.9943 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.7682, allocations: 0 / 0.9943 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004447/0.7686, allocations: 107.8 kB / 0.9944 GB, free: 11.21 MB / 0.7325 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.0004913/0.7691, allocations: 202.1 kB / 0.9946 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006917/0.7698, allocations: 245.8 kB / 0.9948 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7698, allocations: 4.312 kB / 0.9948 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.7701, allocations: 131.8 kB / 0.995 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.7709, allocations: 130.2 kB / 0.9951 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.772, allocations: 0.644 MB / 0.9957 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.7725, allocations: 0.7755 MB / 0.9965 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.7726, allocations: 31.44 kB / 0.9965 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7726, allocations: 0 / 0.9965 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of Templates: time 0.008241/0.7808, allocations: 5.159 MB / 1.002 GB, free: 3.883 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.505714282000554] Failed to read output from testmodel.py, exit status != 0: 0.7887967319984455 0.801350773 0.047177369000000004 Calling exit ...