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.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 279 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 96.39 kB / 0.5952 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1784, allocations: 86.99 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.532/0.7104, allocations: 165.2 MB / 0.8416 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.7133, allocations: 1.546 MB / 0.8431 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.7137, allocations: 15.41 kB / 0.8431 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.7141, allocations: 143.5 kB / 0.8432 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.7154, allocations: 469.3 kB / 0.8437 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.7174, allocations: 0.7501 MB / 0.8444 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.7182, allocations: 0.7036 MB / 0.8451 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.7187, allocations: 266.1 kB / 0.8453 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.7192, allocations: 307.6 kB / 0.8456 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.7195, allocations: 227.8 kB / 0.8458 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.7195, allocations: 28.69 kB / 0.8459 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.7212, allocations: 0.8575 MB / 0.8467 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.7213, allocations: 112.5 kB / 0.8468 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.7215, allocations: 159.1 kB / 0.847 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.7227, allocations: 0.7414 MB / 0.8477 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7227, allocations: 0 / 0.8477 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7227, allocations: 0 / 0.8477 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7227, allocations: 0 / 0.8477 GB, free: 13.9 MB / 0.5762 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.001189/0.7239, allocations: 0.6828 MB / 0.8484 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.724, allocations: 10.31 kB / 0.8484 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.7245, allocations: 80.23 kB / 0.8484 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.7249, allocations: 301.5 kB / 0.8487 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.7249, allocations: 19.19 kB / 0.8488 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.725, allocations: 23.44 kB / 0.8488 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.7256, allocations: 332 kB / 0.8491 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7256, allocations: 0 / 0.8491 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.7256, allocations: 10.72 kB / 0.8491 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.7257, allocations: 9.312 kB / 0.8491 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.7263, allocations: 288.5 kB / 0.8494 GB, free: 12.62 MB / 0.5762 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.001553/0.7279, allocations: 1.075 MB / 0.8504 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.7288, allocations: 325.3 kB / 0.8507 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.7292, allocations: 132.3 kB / 0.8509 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.7299, allocations: 394.4 kB / 0.8512 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7299, allocations: 37.38 kB / 0.8513 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.7299, allocations: 0 / 0.8513 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001161/0.7311, allocations: 400.9 kB / 0.8517 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.7311, allocations: 61.84 kB / 0.8517 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.7314, allocations: 272.3 kB / 0.852 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.7314, allocations: 31.33 kB / 0.852 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7315, allocations: 169.2 kB / 0.8522 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.7316, allocations: 67.02 kB / 0.8522 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.7317, allocations: 49.23 kB / 0.8523 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7318, allocations: 335.3 kB / 0.8526 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.7322, allocations: 103.2 kB / 0.8527 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7325, allocations: 167.3 kB / 0.8529 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.7331, allocations: 268.6 kB / 0.8531 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7331, allocations: 0 / 0.8531 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007105/0.7338, allocations: 316.9 kB / 0.8534 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7339, allocations: 7.625 kB / 0.8534 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7339, allocations: 4.156 kB / 0.8534 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7339, allocations: 2.094 kB / 0.8534 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.7342, allocations: 63.08 kB / 0.8535 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7342, allocations: 2.125 kB / 0.8535 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.7344, allocations: 38.91 kB / 0.8535 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.7345, allocations: 11.88 kB / 0.8535 GB, free: 9.414 MB / 0.5762 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.0001607/0.7346, allocations: 161.8 kB / 0.8537 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.7347, allocations: 25.41 kB / 0.8537 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.7355, allocations: 318.4 kB / 0.854 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7355, allocations: 6.906 kB / 0.854 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7355, allocations: 4 kB / 0.854 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7355, allocations: 0 / 0.854 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.737, allocations: 0.9344 MB / 0.855 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.737, allocations: 3.984 kB / 0.855 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.7372, allocations: 43.25 kB / 0.855 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.7373, allocations: 8.859 kB / 0.855 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.7373, allocations: 10.12 kB / 0.855 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7373, allocations: 6.469 kB / 0.855 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7373, allocations: 2.938 kB / 0.855 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.7384, allocations: 0.5541 MB / 0.8556 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.7385, allocations: 123.5 kB / 0.8557 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.7385, allocations: 10.59 kB / 0.8557 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.7388, allocations: 24.94 kB / 0.8557 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.7389, allocations: 21.61 kB / 0.8557 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.7389, allocations: 16.08 kB / 0.8558 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001674/0.7391, allocations: 192.6 kB / 0.8559 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7391, allocations: 0 / 0.8559 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004625/0.7395, allocations: 111.7 kB / 0.856 GB, free: 7.539 MB / 0.5762 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.0004703/0.74, allocations: 204.3 kB / 0.8562 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006991/0.7407, allocations: 265.1 kB / 0.8565 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7407, allocations: 0 / 0.8565 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.7411, allocations: 140.3 kB / 0.8566 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.7418, allocations: 135.8 kB / 0.8568 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.7428, allocations: 0.6078 MB / 0.8573 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7431, allocations: 0.781 MB / 0.8581 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.7434, allocations: 61.44 kB / 0.8582 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.7434, allocations: 28.61 kB / 0.8582 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7434, allocations: 0 / 0.8582 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of Templates: time 0.009968/0.7534, allocations: 5.964 MB / 0.864 GB, free: 3.008 MB / 0.5762 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)