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.006109/0.006109, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001149/0.001149, allocations: 193.9 kB / 16.67 MB, free: 5.977 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.5914/0.5914, allocations: 95.47 MB / 365.4 MB, free: 9.777 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.001567/0.001567, allocations: 70.09 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5847/0.7414, allocations: 184.7 MB / 0.7515 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.7444, allocations: 1.374 MB / 0.7528 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.7448, allocations: 11.94 kB / 0.7528 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.7458, allocations: 329.9 kB / 0.7532 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.7468, allocations: 0.5203 MB / 0.7537 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00726/0.754, allocations: 2.941 MB / 0.7565 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.756, allocations: 1.853 MB / 0.7583 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.7567, allocations: 0.6016 MB / 0.7589 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.7578, allocations: 0.7516 MB / 0.7597 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.7585, allocations: 0.5839 MB / 0.7602 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.7586, allocations: 92 kB / 0.7603 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.7639, allocations: 3.002 MB / 0.7633 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.7643, allocations: 351.2 kB / 0.7636 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.7649, allocations: 0.4902 MB / 0.7641 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005516/0.7704, allocations: 2.856 MB / 0.7669 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.7704, allocations: 4 kB / 0.7669 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7704, allocations: 0 / 0.7669 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.7705, allocations: 7.938 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.002862/0.7733, allocations: 1.419 MB / 0.7683 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.7734, allocations: 15.98 kB / 0.7683 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.7739, allocations: 99.14 kB / 0.7684 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.7747, allocations: 0.5134 MB / 0.7689 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.7747, allocations: 50 kB / 0.7689 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.7748, allocations: 68 kB / 0.769 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.7764, allocations: 0.8947 MB / 0.7699 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.7765, allocations: 3.938 kB / 0.7699 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.7766, allocations: 32 kB / 0.7699 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.7766, allocations: 23.98 kB / 0.7699 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.7784, allocations: 0.9809 MB / 0.7709 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.7839, allocations: 3.536 MB / 0.7743 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.7853, allocations: 0.731 MB / 0.775 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.7859, allocations: 353 kB / 0.7754 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.787, allocations: 1.147 MB / 0.7765 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.7871, allocations: 47.78 kB / 0.7765 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.7871, allocations: 0 / 0.7765 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002128/0.7892, allocations: 0.951 MB / 0.7775 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.7893, allocations: 63.91 kB / 0.7775 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.7899, allocations: 0.5136 MB / 0.778 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.79, allocations: 37.7 kB / 0.7781 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.7902, allocations: 296.3 kB / 0.7783 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.7904, allocations: 228.7 kB / 0.7786 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.7907, allocations: 134.6 kB / 0.7787 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7909, allocations: 374.8 kB / 0.779 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.7915, allocations: 293.8 kB / 0.7793 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/0.7922, allocations: 421.5 kB / 0.7797 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.7935, allocations: 0.7222 MB / 0.7804 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7935, allocations: 0 / 0.7804 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001604/0.7951, allocations: 0.8594 MB / 0.7813 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7951, allocations: 7.938 kB / 0.7813 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7951, allocations: 4 kB / 0.7813 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7952, allocations: 8.375 kB / 0.7813 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.7965, allocations: 247.7 kB / 0.7815 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.7976, allocations: 1.801 MB / 0.7833 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.7984, allocations: 87.81 kB / 0.7834 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.7985, allocations: 31.98 kB / 0.7834 GB, free: 4.094 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.0004153/0.7989, allocations: 229.6 kB / 0.7836 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.799, allocations: 67.25 kB / 0.7837 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.8009, allocations: 0.9108 MB / 0.7846 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.8009, allocations: 8 kB / 0.7846 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8009, allocations: 0 / 0.7846 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.8009, allocations: 7.984 kB / 0.7846 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.8033, allocations: 1.596 MB / 0.7862 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8033, allocations: 8.125 kB / 0.7862 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8044, allocations: 219.7 kB / 0.7864 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.8045, allocations: 4 kB / 0.7864 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.8045, allocations: 16 kB / 0.7864 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009027/0.8054, allocations: 1.794 MB / 0.7881 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8054, allocations: 4.031 kB / 0.7881 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.8076, allocations: 1.277 MB / 0.7894 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.8081, allocations: 256.1 kB / 0.7896 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.742e-05/0.8082, allocations: 15.94 kB / 0.7896 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.8089, allocations: 47.95 kB / 0.7897 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.809, allocations: 56.52 kB / 0.7897 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/0.8091, allocations: 39.97 kB / 0.7898 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004112/0.8095, allocations: 374.8 kB / 0.7901 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8095, allocations: 4 kB / 0.7901 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001199/0.8108, allocations: 435.5 kB / 0.7906 GB, free: 12.56 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.001046/0.8118, allocations: 0.5131 MB / 0.7911 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.8138, allocations: 0.8059 MB / 0.7919 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8138, allocations: 0 / 0.7919 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.815, allocations: 467.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.001779/0.8168, allocations: 409.4 kB / 0.7927 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.8193, allocations: 1.347 MB / 0.794 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.8197, allocations: 0.9362 MB / 0.7949 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006873/0.8204, allocations: 185.4 kB / 0.7951 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.8206, allocations: 79.41 kB / 0.7952 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.8206, allocations: 4 kB / 0.7952 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.03166/0.8523, allocations: 21.28 MB / 0.816 GB, free: 2.633 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)