Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00805/0.008055, allocations: 100.8 kB / 15.73 MB, free: 6.031 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.001382/0.001382, allocations: 187.6 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6096/0.6096, allocations: 95.48 MB / 365.4 MB, free: 9.699 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.38 kB / 0.5036 GB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1572, allocations: 69.08 MB / 0.5711 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5665/0.7237, allocations: 184.7 MB / 0.7515 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.7268, allocations: 1.371 MB / 0.7528 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.7276, allocations: 11.94 kB / 0.7528 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.7287, allocations: 321.9 kB / 0.7531 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.7302, allocations: 0.5242 MB / 0.7536 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009307/0.7395, allocations: 2.949 MB / 0.7565 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.7424, allocations: 1.85 MB / 0.7583 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.7435, allocations: 0.6054 MB / 0.7589 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.7452, allocations: 0.7633 MB / 0.7597 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.7464, allocations: 0.589 MB / 0.7602 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.7467, allocations: 96 kB / 0.7603 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.7525, allocations: 3.003 MB / 0.7633 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.7531, allocations: 351.2 kB / 0.7636 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009181/0.754, allocations: 498 kB / 0.7641 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005803/0.7598, allocations: 2.86 MB / 0.7669 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7599, allocations: 4 kB / 0.7669 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7599, allocations: 0 / 0.7669 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.544e-05/0.7599, allocations: 4 kB / 0.7669 GB, free: 5.918 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00348/0.7634, allocations: 1.427 MB / 0.7683 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7635, allocations: 11.98 kB / 0.7683 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.764, allocations: 95.14 kB / 0.7684 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.7648, allocations: 0.5135 MB / 0.7689 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.7649, allocations: 53.98 kB / 0.7689 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.765, allocations: 60 kB / 0.769 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.7666, allocations: 0.9025 MB / 0.7699 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7666, allocations: 4 kB / 0.7699 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.7667, allocations: 32 kB / 0.7699 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.7667, allocations: 20 kB / 0.7699 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.7685, allocations: 0.9771 MB / 0.7709 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.7737, allocations: 3.54 MB / 0.7743 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.7753, allocations: 0.7316 MB / 0.775 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/0.7759, allocations: 355.6 kB / 0.7754 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.7772, allocations: 1.143 MB / 0.7765 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.7773, allocations: 47.94 kB / 0.7765 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.7773, allocations: 0 / 0.7765 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002155/0.7795, allocations: 0.9511 MB / 0.7775 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.7795, allocations: 59.97 kB / 0.7775 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.7802, allocations: 0.5175 MB / 0.778 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.7802, allocations: 45.64 kB / 0.7781 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.7804, allocations: 296.3 kB / 0.7784 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.7806, allocations: 224.7 kB / 0.7786 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.7809, allocations: 138.6 kB / 0.7787 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.781, allocations: 366.8 kB / 0.7791 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.7816, allocations: 297.8 kB / 0.7793 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.7823, allocations: 421.6 kB / 0.7797 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.7836, allocations: 0.7182 MB / 0.7804 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7836, allocations: 4 kB / 0.7805 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001601/0.7852, allocations: 0.8555 MB / 0.7813 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.7852, allocations: 9.469 kB / 0.7813 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7853, allocations: 11.19 kB / 0.7813 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.7853, allocations: 4 kB / 0.7813 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.7865, allocations: 243.6 kB / 0.7815 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/0.7875, allocations: 1.801 MB / 0.7833 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.7881, allocations: 83.19 kB / 0.7834 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.7882, allocations: 31.98 kB / 0.7834 GB, free: 4.098 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003712/0.7886, allocations: 237.7 kB / 0.7836 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.7887, allocations: 71.25 kB / 0.7837 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.7906, allocations: 0.8985 MB / 0.7846 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7906, allocations: 15.92 kB / 0.7846 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7907, allocations: 4 kB / 0.7846 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7907, allocations: 3.984 kB / 0.7846 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.7932, allocations: 1.599 MB / 0.7862 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7932, allocations: 0 / 0.7862 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7943, allocations: 219.7 kB / 0.7864 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.7944, allocations: 4 kB / 0.7864 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.7944, allocations: 19.98 kB / 0.7864 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009794/0.7954, allocations: 1.793 MB / 0.7882 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7954, allocations: 3.938 kB / 0.7882 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.7977, allocations: 1.281 MB / 0.7894 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.7982, allocations: 252 kB / 0.7896 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.7984, allocations: 27.91 kB / 0.7897 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/0.7992, allocations: 44.83 kB / 0.7897 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7993, allocations: 60.45 kB / 0.7898 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.7995, allocations: 44.03 kB / 0.7898 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004875/0.8, allocations: 370.8 kB / 0.7902 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8, allocations: 0 / 0.7902 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001507/0.8015, allocations: 439.5 kB / 0.7906 GB, free: 12.55 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.8029, allocations: 0.4947 MB / 0.7911 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.805, allocations: 0.8019 MB / 0.7919 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8051, allocations: 4 kB / 0.7919 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.8063, allocations: 464.3 kB / 0.7923 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.8084, allocations: 420.8 kB / 0.7927 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.8113, allocations: 1.361 MB / 0.794 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.8118, allocations: 0.9323 MB / 0.7949 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.8126, allocations: 193.3 kB / 0.7951 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.8129, allocations: 71.42 kB / 0.7952 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/0.8129, allocations: 0 / 0.7952 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.03388/0.8468, allocations: 21.54 MB / 0.8162 GB, free: 2.359 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)