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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001434/0.001434, allocations: 237.7 kB / 260.2 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6869/0.6869, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.214e-06/2.214e-06, allocations: 3.938 kB / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.366e-05/4.588e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.3898/0.3899, allocations: 145.7 MB / 0.7898 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3918, allocations: 1.474 MB / 0.7912 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.392, allocations: 19.81 kB / 0.7913 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.3923, allocations: 150.9 kB / 0.7914 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.3932, allocations: 477.4 kB / 0.7919 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.3948, allocations: 0.7971 MB / 0.7926 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.3954, allocations: 0.7018 MB / 0.7933 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.3957, allocations: 214.9 kB / 0.7935 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.3961, allocations: 394.9 kB / 0.7939 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.3963, allocations: 211.3 kB / 0.7941 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.3964, allocations: 28 kB / 0.7941 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/0.3972, allocations: 0.7555 MB / 0.7949 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.3973, allocations: 123.6 kB / 0.795 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.3974, allocations: 111.8 kB / 0.7951 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.3981, allocations: 0.7713 MB / 0.7958 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3981, allocations: 4 kB / 0.7958 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3981, allocations: 0 / 0.7958 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3981, allocations: 0 / 0.7958 GB, free: 2.832 MB / 0.6198 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.0007388/0.3988, allocations: 0.6093 MB / 0.7964 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3988, allocations: 13.92 kB / 0.7965 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.3992, allocations: 87.7 kB / 0.7965 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3995, allocations: 248.6 kB / 0.7968 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3995, allocations: 20.5 kB / 0.7968 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.3995, allocations: 28 kB / 0.7968 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.4, allocations: 361.2 kB / 0.7972 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4, allocations: 0 / 0.7972 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.4, allocations: 4 kB / 0.7972 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4, allocations: 8 kB / 0.7972 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.4004, allocations: 281.8 kB / 0.7974 GB, free: 1.125 MB / 0.6198 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.0009527/0.4013, allocations: 0.9328 MB / 0.7984 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.4018, allocations: 232 kB / 0.7986 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.402, allocations: 128.7 kB / 0.7987 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4022, allocations: 88.41 kB / 0.7988 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4023, allocations: 39.42 kB / 0.7988 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.4023, allocations: 0 / 0.7988 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0006702/0.4029, allocations: 399.3 kB / 0.7992 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.403, allocations: 57.09 kB / 0.7993 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.4032, allocations: 221.9 kB / 0.7995 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4032, allocations: 37.7 kB / 0.7995 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.4033, allocations: 168.3 kB / 0.7997 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.4033, allocations: 79.23 kB / 0.7997 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.4033, allocations: 41.7 kB / 0.7998 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.4034, allocations: 334.8 kB / 0.8001 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4036, allocations: 106.1 kB / 0.8002 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.4038, allocations: 253.6 kB / 0.8004 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.4041, allocations: 256.9 kB / 0.8007 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4041, allocations: 4 kB / 0.8007 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003856/0.4045, allocations: 315.8 kB / 0.801 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.4045, allocations: 4.156 kB / 0.801 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4045, allocations: 8 kB / 0.801 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4045, allocations: 0 / 0.801 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4047, allocations: 61.89 kB / 0.8011 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4047, allocations: 0 / 0.8011 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4048, allocations: 35.91 kB / 0.8011 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4048, allocations: 22.08 kB / 0.8011 GB, free: 13.2 MB / 0.6355 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 9.961e-05/0.4049, allocations: 153.7 kB / 0.8013 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4049, allocations: 23.86 kB / 0.8013 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.4053, allocations: 308.6 kB / 0.8016 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4053, allocations: 4 kB / 0.8016 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4053, allocations: 0 / 0.8016 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4053, allocations: 0 / 0.8016 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.4061, allocations: 0.7175 MB / 0.8023 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4061, allocations: 8.188 kB / 0.8023 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4063, allocations: 49.03 kB / 0.8023 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4063, allocations: 3.938 kB / 0.8023 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4063, allocations: 8 kB / 0.8024 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4063, allocations: 4 kB / 0.8024 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4063, allocations: 3.984 kB / 0.8024 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.4069, allocations: 0.5534 MB / 0.8029 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.4069, allocations: 47.8 kB / 0.8029 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.407, allocations: 11.94 kB / 0.803 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.407, allocations: 17.48 kB / 0.803 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4071, allocations: 20.78 kB / 0.803 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4071, allocations: 15.98 kB / 0.803 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.4072, allocations: 161.2 kB / 0.8032 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4072, allocations: 3.938 kB / 0.8032 GB, free: 11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000261/0.4075, allocations: 107.7 kB / 0.8033 GB, free: 10.9 MB / 0.6355 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.0002575/0.4077, allocations: 189.5 kB / 0.8035 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.4081, allocations: 260.2 kB / 0.8037 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4081, allocations: 3.938 kB / 0.8037 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4083, allocations: 128.5 kB / 0.8038 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4086, allocations: 105.9 kB / 0.8039 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.4093, allocations: 0.587 MB / 0.8045 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4094, allocations: 179 kB / 0.8047 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.4095, allocations: 24.5 kB / 0.8047 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of SimCode: time 5.82e-07/0.4095, allocations: 0 / 0.8047 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of Templates: time 0.004532/0.414, allocations: 4.895 MB / 0.8095 GB, free: 4.547 MB / 0.6355 GB " [Timeout remaining time 660] 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: 6.163179885596037] Failed to read output from testmodel.py, exit status != 0: 0.42024480178952217 0.427715934 0.027980172 Calling exit ...