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.001535/0.001535, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001558/0.001558, allocations: 197.7 kB / 16.25 MB, free: 6.629 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 302.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9405, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 94.48 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1859, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5204/0.7064, allocations: 163 MB / 0.8388 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.7088, allocations: 1.543 MB / 0.8403 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.709, allocations: 13.69 kB / 0.8403 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.7094, allocations: 121.9 kB / 0.8404 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.7105, allocations: 438.1 kB / 0.8409 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.712, allocations: 0.693 MB / 0.8415 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000658/0.7126, allocations: 0.7046 MB / 0.8422 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.713, allocations: 258.8 kB / 0.8425 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.7134, allocations: 317.7 kB / 0.8428 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.7137, allocations: 240.7 kB / 0.843 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.7137, allocations: 27.31 kB / 0.843 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.7149, allocations: 0.8942 MB / 0.8439 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.715, allocations: 112.7 kB / 0.844 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.7152, allocations: 158.4 kB / 0.8442 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009265/0.7161, allocations: 0.7889 MB / 0.8449 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.7161, allocations: 0 / 0.8449 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7161, allocations: 0 / 0.8449 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.7161, allocations: 6.562 kB / 0.8449 GB, free: 14.29 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.001065/0.7172, allocations: 0.6764 MB / 0.8456 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.7172, allocations: 9.938 kB / 0.8456 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.7177, allocations: 88.81 kB / 0.8457 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.7181, allocations: 300.2 kB / 0.846 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.7181, allocations: 18.22 kB / 0.846 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.7182, allocations: 22.62 kB / 0.846 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.7188, allocations: 332 kB / 0.8463 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7188, allocations: 6.719 kB / 0.8463 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.7188, allocations: 8 kB / 0.8464 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7189, allocations: 11.69 kB / 0.8464 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.7195, allocations: 277.7 kB / 0.8466 GB, free: 13.02 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.001475/0.721, allocations: 1.075 MB / 0.8477 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.7219, allocations: 323.6 kB / 0.848 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.7222, allocations: 133.5 kB / 0.8481 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.7228, allocations: 397 kB / 0.8485 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7229, allocations: 36.56 kB / 0.8485 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.7229, allocations: 0 / 0.8485 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001099/0.724, allocations: 400.4 kB / 0.8489 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.724, allocations: 58.09 kB / 0.849 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.7243, allocations: 271.5 kB / 0.8492 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.7243, allocations: 36.14 kB / 0.8493 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.7244, allocations: 165.8 kB / 0.8494 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.7245, allocations: 65.11 kB / 0.8495 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.7246, allocations: 45.73 kB / 0.8495 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7247, allocations: 338.4 kB / 0.8498 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.725, allocations: 107 kB / 0.8499 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.7254, allocations: 171 kB / 0.8501 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.7259, allocations: 263.3 kB / 0.8504 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7259, allocations: 4 kB / 0.8504 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006736/0.7266, allocations: 320.5 kB / 0.8507 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7266, allocations: 7.656 kB / 0.8507 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7267, allocations: 4.156 kB / 0.8507 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.7267, allocations: 2.688 kB / 0.8507 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.7269, allocations: 63.98 kB / 0.8507 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.727, allocations: 3.562 kB / 0.8507 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.7272, allocations: 38.25 kB / 0.8508 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.7273, allocations: 15.83 kB / 0.8508 GB, free: 9.809 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.0001335/0.7274, allocations: 157.5 kB / 0.8509 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.7275, allocations: 23.31 kB / 0.851 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.7282, allocations: 317.3 kB / 0.8513 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7282, allocations: 7.938 kB / 0.8513 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7282, allocations: 2.156 kB / 0.8513 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7282, allocations: 0 / 0.8513 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.7296, allocations: 0.9256 MB / 0.8522 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7297, allocations: 2.625 kB / 0.8522 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.7299, allocations: 55.17 kB / 0.8522 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7299, allocations: 6.875 kB / 0.8522 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.7299, allocations: 2.469 kB / 0.8523 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.73, allocations: 2.562 kB / 0.8523 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.73, allocations: 1.812 kB / 0.8523 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.731, allocations: 0.5629 MB / 0.8528 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7311, allocations: 119.2 kB / 0.8529 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.7312, allocations: 6.469 kB / 0.8529 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.7314, allocations: 35.25 kB / 0.853 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.7315, allocations: 29.28 kB / 0.853 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.7316, allocations: 7.281 kB / 0.853 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001717/0.7317, allocations: 198.3 kB / 0.8532 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7317, allocations: 0 / 0.8532 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004679/0.7322, allocations: 108.4 kB / 0.8533 GB, free: 7.945 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.0005501/0.7328, allocations: 201.1 kB / 0.8535 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.7335, allocations: 272.1 kB / 0.8537 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7335, allocations: 0 / 0.8537 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.7339, allocations: 139.5 kB / 0.8539 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.7346, allocations: 132.9 kB / 0.854 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.7358, allocations: 0.7088 MB / 0.8547 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.7361, allocations: 0.7767 MB / 0.8554 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000287/0.7364, allocations: 66.47 kB / 0.8555 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.7365, allocations: 24.78 kB / 0.8555 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.7365, allocations: 0 / 0.8555 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.01184/0.7484, allocations: 5.77 MB / 0.8612 GB, free: 3.41 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)