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.001492/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002162/0.002162, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.719/1.719, allocations: 205.1 MB / 222 MB, free: 4.766 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.5769/0.5769, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001494/0.001494, allocations: 75.89 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3501, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5587/0.9089, allocations: 183.1 MB / 0.6805 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.9126, allocations: 1.408 MB / 0.6819 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.9132, allocations: 9.219 kB / 0.6819 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.9142, allocations: 288.5 kB / 0.6822 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.9154, allocations: 0.496 MB / 0.6827 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007957/0.9234, allocations: 2.693 MB / 0.6853 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.9261, allocations: 2.412 MB / 0.6876 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007848/0.9269, allocations: 0.5147 MB / 0.6881 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.9281, allocations: 0.6469 MB / 0.6888 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.9289, allocations: 0.5991 MB / 0.6894 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.929, allocations: 39.84 kB / 0.6894 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/0.9354, allocations: 3.015 MB / 0.6923 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.9359, allocations: 305.4 kB / 0.6926 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007234/0.9366, allocations: 444.4 kB / 0.6931 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.9436, allocations: 2.888 MB / 0.6959 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9436, allocations: 6.25 kB / 0.6959 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9436, allocations: 0 / 0.6959 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.9436, allocations: 0 / 0.6959 GB, free: 5.844 MB / 0.4981 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.003465/0.9471, allocations: 1.419 MB / 0.6973 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.9472, allocations: 13.52 kB / 0.6973 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.9477, allocations: 101.2 kB / 0.6974 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.9485, allocations: 0.4934 MB / 0.6979 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.9486, allocations: 47.47 kB / 0.6979 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.9487, allocations: 62.94 kB / 0.698 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.9503, allocations: 0.9121 MB / 0.6989 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.9503, allocations: 0 / 0.6989 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.9504, allocations: 31.69 kB / 0.6989 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.9505, allocations: 16.69 kB / 0.6989 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.9523, allocations: 0.9774 MB / 0.6999 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.958, allocations: 3.546 MB / 0.7033 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.9594, allocations: 0.7196 MB / 0.704 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.9601, allocations: 364.3 kB / 0.7044 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.9613, allocations: 1.141 MB / 0.7055 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.9613, allocations: 44.5 kB / 0.7055 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/0.9613, allocations: 0 / 0.7055 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.0022/0.9635, allocations: 0.9517 MB / 0.7065 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.9636, allocations: 67.28 kB / 0.7065 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.9643, allocations: 0.504 MB / 0.707 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.9644, allocations: 48.98 kB / 0.7071 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.9646, allocations: 309 kB / 0.7074 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.9648, allocations: 226.1 kB / 0.7076 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.965, allocations: 134.3 kB / 0.7077 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.9652, allocations: 365.6 kB / 0.708 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.9659, allocations: 304.2 kB / 0.7083 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.9666, allocations: 415.1 kB / 0.7087 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.968, allocations: 0.7264 MB / 0.7094 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.968, allocations: 0 / 0.7094 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00177/0.9697, allocations: 0.856 MB / 0.7103 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9698, allocations: 8 kB / 0.7103 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9698, allocations: 0 / 0.7103 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.9698, allocations: 8.875 kB / 0.7103 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9712, allocations: 243.6 kB / 0.7105 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.9722, allocations: 1.797 MB / 0.7123 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.9731, allocations: 107.4 kB / 0.7124 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.9732, allocations: 31.98 kB / 0.7124 GB, free: 9.254 MB / 0.5137 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.0004345/0.9736, allocations: 229.6 kB / 0.7126 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.9738, allocations: 71.23 kB / 0.7127 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.9757, allocations: 0.913 MB / 0.7136 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.9757, allocations: 8 kB / 0.7136 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9757, allocations: 0 / 0.7136 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.9757, allocations: 3.984 kB / 0.7136 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.9784, allocations: 1.605 MB / 0.7152 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9784, allocations: 0 / 0.7152 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9795, allocations: 219 kB / 0.7154 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.9795, allocations: 4 kB / 0.7154 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.9796, allocations: 19.94 kB / 0.7154 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009198/0.9805, allocations: 1.793 MB / 0.7172 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9805, allocations: 4.219 kB / 0.7172 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.9828, allocations: 1.277 MB / 0.7184 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.9832, allocations: 252.1 kB / 0.7186 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.9833, allocations: 12 kB / 0.7187 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.9842, allocations: 75.83 kB / 0.7187 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.9843, allocations: 56.41 kB / 0.7188 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9845, allocations: 47.95 kB / 0.7188 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004447/0.9849, allocations: 366.8 kB / 0.7192 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.9849, allocations: 0 / 0.7192 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00118/0.9861, allocations: 447.5 kB / 0.7196 GB, free: 1.707 MB / 0.5137 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.001101/0.9872, allocations: 0.5027 MB / 0.7201 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.9893, allocations: 0.7966 MB / 0.7209 GB, free: 448 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9893, allocations: 4.062 kB / 0.7209 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.9905, allocations: 466.9 kB / 0.7213 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.9923, allocations: 392.6 kB / 0.7217 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.9949, allocations: 1.646 MB / 0.7233 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.9954, allocations: 0.9362 MB / 0.7242 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008496/0.9963, allocations: 189.4 kB / 0.7244 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.9965, allocations: 71.42 kB / 0.7245 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.9965, allocations: 0 / 0.7245 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.03024/1.027, allocations: 20.24 MB / 0.7442 GB, free: 8.617 MB / 0.545 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)