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.001205/0.001205, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001042/0.001042, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.5713/0.5713, allocations: 95.58 MB / 366 MB, free: 10.35 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.00052/0.0005201, allocations: 12 kB / 446.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2968, allocations: 70.33 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.4206/0.7174, allocations: 145.1 MB / 0.6467 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.7204, allocations: 1.37 MB / 0.648 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.721, allocations: 11.88 kB / 0.648 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.7218, allocations: 240.9 kB / 0.6482 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.7229, allocations: 404.9 kB / 0.6486 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.7273, allocations: 1.233 MB / 0.6498 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.73, allocations: 1.004 MB / 0.6508 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.7314, allocations: 491.9 kB / 0.6513 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.7332, allocations: 0.6669 MB / 0.6519 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.7339, allocations: 426.6 kB / 0.6523 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.734, allocations: 43.78 kB / 0.6524 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.7373, allocations: 1.142 MB / 0.6535 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.7377, allocations: 275.6 kB / 0.6538 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.7382, allocations: 186.1 kB / 0.6539 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.7401, allocations: 1.314 MB / 0.6552 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7401, allocations: 0 / 0.6552 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7401, allocations: 0 / 0.6552 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7401, allocations: 0 / 0.6552 GB, free: 17.52 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.002285/0.7424, allocations: 1.115 MB / 0.6563 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7425, allocations: 12.89 kB / 0.6563 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.7429, allocations: 103.1 kB / 0.6564 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.7436, allocations: 490.7 kB / 0.6569 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.7437, allocations: 48.56 kB / 0.6569 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.7438, allocations: 63.53 kB / 0.657 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7451, allocations: 0.9091 MB / 0.6579 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.7451, allocations: 7.312 kB / 0.6579 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.7452, allocations: 32.34 kB / 0.6579 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.7453, allocations: 17.09 kB / 0.6579 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.7469, allocations: 1.006 MB / 0.6589 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/0.7518, allocations: 3.558 MB / 0.6624 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.753, allocations: 0.7413 MB / 0.6631 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/0.754, allocations: 1.155 MB / 0.6642 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.754, allocations: 43.5 kB / 0.6643 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.754, allocations: 0 / 0.6643 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.001825/0.7559, allocations: 1.001 MB / 0.6653 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.7559, allocations: 63.38 kB / 0.6653 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.7564, allocations: 0.5045 MB / 0.6658 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.7565, allocations: 39.73 kB / 0.6659 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.7566, allocations: 295.1 kB / 0.6661 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.7568, allocations: 231.1 kB / 0.6664 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.7568, allocations: 16.28 kB / 0.6664 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7569, allocations: 366.9 kB / 0.6667 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.7575, allocations: 312.1 kB / 0.667 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.7581, allocations: 435.7 kB / 0.6674 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.7586, allocations: 357.9 kB / 0.6678 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7587, allocations: 1.938 kB / 0.6678 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001391/0.7601, allocations: 0.8852 MB / 0.6686 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7601, allocations: 10.66 kB / 0.6686 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7601, allocations: 2.719 kB / 0.6687 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.7601, allocations: 12.11 kB / 0.6687 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.7613, allocations: 250.2 kB / 0.6689 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008412/0.7622, allocations: 1.797 MB / 0.6707 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.7629, allocations: 111.7 kB / 0.6708 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.763, allocations: 32.34 kB / 0.6708 GB, free: 10.36 MB / 0.4981 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.7634, allocations: 236 kB / 0.671 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.7635, allocations: 66.97 kB / 0.6711 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.7652, allocations: 0.9397 MB / 0.672 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.7652, allocations: 11.8 kB / 0.672 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7652, allocations: 0 / 0.672 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.7652, allocations: 3.094 kB / 0.672 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.7674, allocations: 1.631 MB / 0.6736 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7674, allocations: 0 / 0.6736 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.7684, allocations: 233 kB / 0.6738 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.7685, allocations: 2.656 kB / 0.6738 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.7685, allocations: 25.56 kB / 0.6739 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007649/0.7693, allocations: 1.79 MB / 0.6756 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.7693, allocations: 5.781 kB / 0.6756 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.7713, allocations: 1.364 MB / 0.6769 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.7717, allocations: 257.5 kB / 0.6772 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.7718, allocations: 18.09 kB / 0.6772 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.7726, allocations: 71.8 kB / 0.6773 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7727, allocations: 52.23 kB / 0.6773 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.7728, allocations: 49.45 kB / 0.6774 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003607/0.7732, allocations: 363.4 kB / 0.6777 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.32e-07/0.7732, allocations: 0 / 0.6777 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001037/0.7742, allocations: 436.1 kB / 0.6781 GB, free: 7.207 MB / 0.4981 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/0.7751, allocations: 448.9 kB / 0.6786 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7769, allocations: 0.8463 MB / 0.6794 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.777, allocations: 6.938 kB / 0.6794 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.7781, allocations: 499.9 kB / 0.6799 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.7797, allocations: 377.6 kB / 0.6802 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.7822, allocations: 1.644 MB / 0.6818 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.7827, allocations: 0.9499 MB / 0.6828 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008197/0.7835, allocations: 185.3 kB / 0.6829 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.7837, allocations: 77.86 kB / 0.683 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.7837, allocations: 0 / 0.683 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.03141/0.8151, allocations: 18.73 MB / 0.7013 GB, free: 7.723 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: