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.001573/0.001574, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002202/0.002202, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.482/1.482, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.5792/0.5792, allocations: 95.47 MB / 364.9 MB, free: 10.05 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.001345/0.001345, allocations: 67.91 kB / 444.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5559/0.8902, allocations: 182.5 MB / 0.6801 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.8934, allocations: 1.385 MB / 0.6815 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.8941, allocations: 15.62 kB / 0.6815 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.8951, allocations: 286.8 kB / 0.6818 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.8963, allocations: 496 kB / 0.6822 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008257/0.9046, allocations: 2.722 MB / 0.6849 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.907, allocations: 1.852 MB / 0.6867 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.9077, allocations: 0.5982 MB / 0.6873 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.9091, allocations: 0.7693 MB / 0.688 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.9099, allocations: 0.6203 MB / 0.6886 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.91, allocations: 99.55 kB / 0.6887 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.9162, allocations: 2.886 MB / 0.6915 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.9167, allocations: 353.8 kB / 0.6919 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007268/0.9174, allocations: 498.9 kB / 0.6924 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006473/0.9239, allocations: 2.948 MB / 0.6952 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9239, allocations: 0 / 0.6952 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9239, allocations: 0 / 0.6952 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.9239, allocations: 6.656 kB / 0.6952 GB, free: 6.441 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.003034/0.927, allocations: 1.418 MB / 0.6966 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.927, allocations: 14.05 kB / 0.6966 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/0.9277, allocations: 102 kB / 0.6967 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.9283, allocations: 0.4935 MB / 0.6972 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.9284, allocations: 54.28 kB / 0.6973 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.9285, allocations: 66.94 kB / 0.6973 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.9301, allocations: 0.8996 MB / 0.6982 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.9301, allocations: 0 / 0.6982 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.9302, allocations: 34.09 kB / 0.6982 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.9302, allocations: 18.75 kB / 0.6983 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.9319, allocations: 0.9804 MB / 0.6992 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.937, allocations: 3.54 MB / 0.7027 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.9384, allocations: 0.7215 MB / 0.7034 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006357/0.9391, allocations: 361.8 kB / 0.7037 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.9403, allocations: 1.149 MB / 0.7049 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.9404, allocations: 47.97 kB / 0.7049 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 3.456e-06/0.9404, allocations: 0 / 0.7049 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.002091/0.9425, allocations: 0.9492 MB / 0.7058 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9425, allocations: 63.09 kB / 0.7059 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.9432, allocations: 0.5059 MB / 0.7064 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.9432, allocations: 42.95 kB / 0.7064 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.9435, allocations: 298.8 kB / 0.7067 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.9437, allocations: 229.8 kB / 0.7069 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.9439, allocations: 137.6 kB / 0.7071 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.944, allocations: 367.5 kB / 0.7074 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.9446, allocations: 303.4 kB / 0.7077 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.9453, allocations: 418.3 kB / 0.7081 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9466, allocations: 0.7254 MB / 0.7088 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9466, allocations: 0 / 0.7088 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001553/0.9482, allocations: 0.8583 MB / 0.7096 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9482, allocations: 9.5 kB / 0.7097 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9482, allocations: 3.094 kB / 0.7097 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.9482, allocations: 11.75 kB / 0.7097 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.9495, allocations: 243.8 kB / 0.7099 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009498/0.9505, allocations: 1.797 MB / 0.7117 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/0.9513, allocations: 107.2 kB / 0.7118 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.9513, allocations: 31.98 kB / 0.7118 GB, free: 9.91 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.0003929/0.9517, allocations: 229.6 kB / 0.712 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.9519, allocations: 67.25 kB / 0.7121 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.9538, allocations: 0.9102 MB / 0.713 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.9538, allocations: 8 kB / 0.713 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.9538, allocations: 0 / 0.713 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.9538, allocations: 3.984 kB / 0.713 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.9564, allocations: 1.609 MB / 0.7145 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.9564, allocations: 4.031 kB / 0.7145 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.9578, allocations: 215.7 kB / 0.7147 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.9578, allocations: 4 kB / 0.7148 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.9578, allocations: 19.98 kB / 0.7148 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.9588, allocations: 1.789 MB / 0.7165 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9589, allocations: 1.953 kB / 0.7165 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.9617, allocations: 1.281 MB / 0.7178 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.9624, allocations: 252.1 kB / 0.718 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.9626, allocations: 12 kB / 0.718 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.9637, allocations: 71.77 kB / 0.7181 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.9639, allocations: 60.53 kB / 0.7181 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.9642, allocations: 43.95 kB / 0.7182 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006765/0.9648, allocations: 366.8 kB / 0.7185 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9649, allocations: 0 / 0.7185 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001658/0.9665, allocations: 443.5 kB / 0.719 GB, free: 2.375 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.001208/0.9677, allocations: 0.5003 MB / 0.7195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.9702, allocations: 0.8628 MB / 0.7203 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9702, allocations: 0 / 0.7203 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.9713, allocations: 479.5 kB / 0.7208 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.9732, allocations: 405.1 kB / 0.7211 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.976, allocations: 1.643 MB / 0.7227 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.9766, allocations: 0.9323 MB / 0.7237 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.9775, allocations: 185.4 kB / 0.7238 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.9777, allocations: 71.42 kB / 0.7239 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.9777, allocations: 0 / 0.7239 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.03341/1.011, allocations: 20.9 MB / 0.7443 GB, free: 8.562 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)