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.007807/0.007807, allocations: 101 kB / 15.73 MB, free: 6.051 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.00163/0.00163, allocations: 186 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00309/0.00309, allocations: 287.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 95.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1756, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5959/0.7716, allocations: 165.3 MB / 0.9278 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.7747, allocations: 1.552 MB / 0.9293 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.7752, allocations: 11.94 kB / 0.9293 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.7758, allocations: 142.9 kB / 0.9295 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.7772, allocations: 465.8 kB / 0.9299 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.7793, allocations: 0.7582 MB / 0.9306 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.7803, allocations: 0.6942 MB / 0.9313 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.7809, allocations: 275.2 kB / 0.9316 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.7816, allocations: 310.8 kB / 0.9319 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.782, allocations: 227.1 kB / 0.9321 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.7821, allocations: 24 kB / 0.9321 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7836, allocations: 0.8652 MB / 0.933 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.7838, allocations: 115.7 kB / 0.9331 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.784, allocations: 159.2 kB / 0.9332 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.7855, allocations: 0.7506 MB / 0.934 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7855, allocations: 7.984 kB / 0.934 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7855, allocations: 0 / 0.934 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.7855, allocations: 0 / 0.934 GB, free: 7.164 MB / 0.6856 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.001302/0.7868, allocations: 0.6662 MB / 0.9346 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7869, allocations: 8.031 kB / 0.9346 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005832/0.7875, allocations: 95.48 kB / 0.9347 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.7879, allocations: 309.8 kB / 0.935 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.788, allocations: 24.56 kB / 0.935 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.788, allocations: 24 kB / 0.9351 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.7887, allocations: 332.2 kB / 0.9354 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7888, allocations: 0 / 0.9354 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.7888, allocations: 8 kB / 0.9354 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.7888, allocations: 11.94 kB / 0.9354 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.7895, allocations: 285.5 kB / 0.9357 GB, free: 5.32 MB / 0.6856 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.001657/0.7912, allocations: 1.063 MB / 0.9367 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.7921, allocations: 323.6 kB / 0.937 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.7925, allocations: 132.8 kB / 0.9371 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/0.7931, allocations: 396.3 kB / 0.9375 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.7932, allocations: 46.48 kB / 0.9376 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.7932, allocations: 0 / 0.9376 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.7944, allocations: 403 kB / 0.9379 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.7945, allocations: 67.34 kB / 0.938 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.7947, allocations: 263 kB / 0.9383 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.7948, allocations: 29.7 kB / 0.9383 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.7949, allocations: 168.2 kB / 0.9384 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.795, allocations: 67.02 kB / 0.9385 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.7951, allocations: 45.7 kB / 0.9386 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7952, allocations: 334.8 kB / 0.9389 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.7955, allocations: 103.9 kB / 0.939 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.7958, allocations: 159.5 kB / 0.9391 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.7965, allocations: 279.3 kB / 0.9394 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7965, allocations: 0.6875 kB / 0.9394 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000765/0.7973, allocations: 317 kB / 0.9397 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7973, allocations: 8.156 kB / 0.9397 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7973, allocations: 4 kB / 0.9397 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7973, allocations: 0 / 0.9397 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.7976, allocations: 59.89 kB / 0.9398 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7976, allocations: 3.938 kB / 0.9398 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.7979, allocations: 41.19 kB / 0.9398 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.7979, allocations: 8 kB / 0.9398 GB, free: 0.8008 MB / 0.6856 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.0001512/0.798, allocations: 157.8 kB / 0.94 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.7981, allocations: 27.62 kB / 0.94 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007609/0.7989, allocations: 307.6 kB / 0.9403 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.7989, allocations: 7.938 kB / 0.9403 GB, free: 300 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7989, allocations: 4 kB / 0.9403 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7989, allocations: 3.984 kB / 0.9403 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.8004, allocations: 0.9351 MB / 0.9412 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8004, allocations: 48 / 0.9412 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.8007, allocations: 55.88 kB / 0.9413 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.8007, allocations: 4 kB / 0.9413 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.8007, allocations: 8.188 kB / 0.9413 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.8007, allocations: 8.484 kB / 0.9413 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.8007, allocations: 4 kB / 0.9413 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.8018, allocations: 0.5572 MB / 0.9418 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.8019, allocations: 124.8 kB / 0.9419 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.8019, allocations: 12.06 kB / 0.942 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.8022, allocations: 19.97 kB / 0.942 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.8023, allocations: 19.92 kB / 0.942 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.8023, allocations: 12 kB / 0.942 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001799/0.8025, allocations: 189.9 kB / 0.9422 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8025, allocations: 0 / 0.9422 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004686/0.803, allocations: 107.8 kB / 0.9423 GB, free: 14.08 MB / 0.7012 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.0004993/0.8035, allocations: 215.5 kB / 0.9425 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.8042, allocations: 259.7 kB / 0.9427 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8042, allocations: 0 / 0.9427 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.8047, allocations: 140.5 kB / 0.9429 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.8054, allocations: 125.8 kB / 0.943 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.8065, allocations: 0.5983 MB / 0.9436 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.8069, allocations: 0.7755 MB / 0.9443 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.8072, allocations: 67.11 kB / 0.9444 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.8073, allocations: 27.44 kB / 0.9444 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of SimCode: time 2.3e-07/0.8073, allocations: 4 kB / 0.9444 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of Templates: time 0.01191/0.8193, allocations: 5.989 MB / 0.9503 GB, free: 5.934 MB / 0.7012 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)