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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001887/0.001887, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 277.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 99.83 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.474, allocations: 86.99 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.1977/0.6716, allocations: 165.7 MB / 0.9289 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.6747, allocations: 1.563 MB / 0.9304 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.675, allocations: 11.94 kB / 0.9304 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.6754, allocations: 146.9 kB / 0.9306 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.6767, allocations: 485.8 kB / 0.931 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.6787, allocations: 0.7652 MB / 0.9318 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.6796, allocations: 0.702 MB / 0.9325 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.68, allocations: 230.7 kB / 0.9327 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.6806, allocations: 306.9 kB / 0.933 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.6809, allocations: 235 kB / 0.9332 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.6809, allocations: 24 kB / 0.9332 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.6824, allocations: 0.873 MB / 0.9341 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.6826, allocations: 115.7 kB / 0.9342 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.6828, allocations: 155.2 kB / 0.9343 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.6839, allocations: 0.7496 MB / 0.9351 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6839, allocations: 0 / 0.9351 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6839, allocations: 0 / 0.9351 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6839, allocations: 3.938 kB / 0.9351 GB, free: 7.242 MB / 0.7012 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.00125/0.6852, allocations: 0.6888 MB / 0.9357 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6852, allocations: 16.03 kB / 0.9358 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.6857, allocations: 87.64 kB / 0.9358 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.6863, allocations: 310.1 kB / 0.9361 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6863, allocations: 20.56 kB / 0.9362 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.6863, allocations: 31.92 kB / 0.9362 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.6871, allocations: 328.2 kB / 0.9365 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6871, allocations: 4 kB / 0.9365 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.6871, allocations: 8 kB / 0.9365 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.6871, allocations: 11.94 kB / 0.9365 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.6879, allocations: 281.5 kB / 0.9368 GB, free: 5.375 MB / 0.7012 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.001824/0.6897, allocations: 1.071 MB / 0.9378 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6908, allocations: 311.6 kB / 0.9381 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.6912, allocations: 136.8 kB / 0.9383 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.6919, allocations: 384.3 kB / 0.9386 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6919, allocations: 38.56 kB / 0.9387 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.6919, allocations: 0 / 0.9387 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001335/0.6933, allocations: 415.2 kB / 0.9391 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6933, allocations: 55.34 kB / 0.9391 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.6936, allocations: 267 kB / 0.9394 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.6936, allocations: 29.7 kB / 0.9394 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.6938, allocations: 168.3 kB / 0.9396 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.6939, allocations: 79.34 kB / 0.9396 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.6939, allocations: 41.7 kB / 0.9397 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6941, allocations: 342.8 kB / 0.94 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.6944, allocations: 99.91 kB / 0.9401 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.6948, allocations: 169 kB / 0.9403 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.6955, allocations: 260.9 kB / 0.9405 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6955, allocations: 4 kB / 0.9405 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008101/0.6963, allocations: 318.9 kB / 0.9408 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6963, allocations: 8 kB / 0.9408 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6963, allocations: 0 / 0.9408 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6964, allocations: 11.88 kB / 0.9408 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.6967, allocations: 55.95 kB / 0.9409 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6967, allocations: 4 kB / 0.9409 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.6969, allocations: 43.88 kB / 0.9409 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.697, allocations: 12 kB / 0.9409 GB, free: 0.8555 MB / 0.7012 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.0001686/0.6971, allocations: 148.2 kB / 0.9411 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.6972, allocations: 23.86 kB / 0.9411 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.698, allocations: 330.2 kB / 0.9414 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.698, allocations: 3.938 kB / 0.9414 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.698, allocations: 4.047 kB / 0.9414 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6981, allocations: 7.969 kB / 0.9414 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.6998, allocations: 0.9212 MB / 0.9423 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6998, allocations: 4 kB / 0.9423 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.7001, allocations: 52.14 kB / 0.9424 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7001, allocations: 0 / 0.9424 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.7001, allocations: 8 kB / 0.9424 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.7001, allocations: 7.938 kB / 0.9424 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7001, allocations: 0 / 0.9424 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.7013, allocations: 0.5726 MB / 0.943 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.7014, allocations: 128.8 kB / 0.9431 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.7015, allocations: 4 kB / 0.9431 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.7017, allocations: 23.97 kB / 0.9431 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.7018, allocations: 19.92 kB / 0.9431 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.7018, allocations: 8 kB / 0.9431 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002027/0.702, allocations: 202 kB / 0.9433 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.702, allocations: 0 / 0.9433 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004777/0.7025, allocations: 103.8 kB / 0.9434 GB, free: 14.13 MB / 0.7169 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.0004715/0.703, allocations: 202.4 kB / 0.9436 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007889/0.7038, allocations: 247.7 kB / 0.9439 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7038, allocations: 0 / 0.9439 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.7041, allocations: 142.8 kB / 0.944 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/0.7049, allocations: 135 kB / 0.9441 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.7061, allocations: 0.599 MB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.7065, allocations: 0.7794 MB / 0.9455 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.7067, allocations: 70.22 kB / 0.9455 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.7068, allocations: 31.44 kB / 0.9456 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.7068, allocations: 0 / 0.9456 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.01207/0.7189, allocations: 6.011 MB / 0.9514 GB, free: 5.961 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)