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.001115/0.001115, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001596/0.001596, allocations: 168.7 kB / 15.95 MB, free: 204 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.739/1.739, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.683/0.683, allocations: 95.63 MB / 366 MB, free: 10.36 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.0006102/0.0006105, allocations: 16 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4185, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.556/0.9746, allocations: 168 MB / 0.6691 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.9774, allocations: 1.363 MB / 0.6705 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.9779, allocations: 11.09 kB / 0.6705 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.9786, allocations: 226.9 kB / 0.6707 GB, free: 0.6094 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001203/0.9798, allocations: 0.4888 MB / 0.6712 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006895/0.9867, allocations: 2.235 MB / 0.6734 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.9896, allocations: 2.055 MB / 0.6754 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.9906, allocations: 490 kB / 0.6758 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.9922, allocations: 0.6375 MB / 0.6764 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.9932, allocations: 0.5724 MB / 0.677 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.9934, allocations: 37.56 kB / 0.677 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005491/0.9988, allocations: 2.008 MB / 0.679 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.9994, allocations: 299.5 kB / 0.6793 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.9998, allocations: 189.8 kB / 0.6795 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/1.003, allocations: 1.845 MB / 0.6813 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.003, allocations: 0 / 0.6813 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/1.003, allocations: 0 / 0.6813 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.003, allocations: 0 / 0.6813 GB, free: 14.69 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.002724/1.006, allocations: 1.264 MB / 0.6825 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.006, allocations: 15.92 kB / 0.6825 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/1.006, allocations: 110.6 kB / 0.6826 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/1.007, allocations: 483.5 kB / 0.6831 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/1.007, allocations: 47.72 kB / 0.6831 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/1.007, allocations: 64.03 kB / 0.6832 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.009, allocations: 0.9144 MB / 0.6841 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.009, allocations: 1.781 kB / 0.6841 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/1.009, allocations: 30.53 kB / 0.6841 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.009, allocations: 14.84 kB / 0.6841 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.011, allocations: 1.017 MB / 0.6851 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/1.016, allocations: 3.563 MB / 0.6886 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.018, allocations: 0.7511 MB / 0.6893 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/1.018, allocations: 368.4 kB / 0.6897 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.019, allocations: 1.155 MB / 0.6908 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.019, allocations: 45.81 kB / 0.6909 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.725e-06/1.019, allocations: 0 / 0.6909 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.001862/1.021, allocations: 0.9938 MB / 0.6918 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.021, allocations: 61.91 kB / 0.6919 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/1.022, allocations: 0.5104 MB / 0.6924 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/1.022, allocations: 41.27 kB / 0.6924 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.022, allocations: 298.9 kB / 0.6927 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.022, allocations: 230.9 kB / 0.6929 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/1.022, allocations: 12.06 kB / 0.6929 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.022, allocations: 369 kB / 0.6933 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/1.023, allocations: 311.1 kB / 0.6936 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/1.024, allocations: 430.9 kB / 0.694 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/1.024, allocations: 368.4 kB / 0.6944 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.024, allocations: 2.656 kB / 0.6944 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001532/1.026, allocations: 0.8836 MB / 0.6952 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.026, allocations: 5.75 kB / 0.6952 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.026, allocations: 5.125 kB / 0.6952 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.026, allocations: 5.531 kB / 0.6952 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.027, allocations: 254.7 kB / 0.6955 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/1.028, allocations: 1.802 MB / 0.6972 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/1.029, allocations: 111.2 kB / 0.6973 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/1.029, allocations: 32.42 kB / 0.6974 GB, free: 5.473 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.0004533/1.03, allocations: 228.7 kB / 0.6976 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.03, allocations: 68.83 kB / 0.6977 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/1.032, allocations: 0.9415 MB / 0.6986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.032, allocations: 8.75 kB / 0.6986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.032, allocations: 0 / 0.6986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.032, allocations: 3.984 kB / 0.6986 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.034, allocations: 1.621 MB / 0.7002 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.034, allocations: 3.281 kB / 0.7002 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.035, allocations: 231.7 kB / 0.7004 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/1.035, allocations: 5.812 kB / 0.7004 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/1.036, allocations: 17.53 kB / 0.7004 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/1.037, allocations: 1.796 MB / 0.7022 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.037, allocations: 3.938 kB / 0.7022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/1.039, allocations: 1.321 MB / 0.7035 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/1.039, allocations: 258.4 kB / 0.7037 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.039, allocations: 14.81 kB / 0.7037 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/1.04, allocations: 74.95 kB / 0.7038 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.04, allocations: 50.91 kB / 0.7039 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.04, allocations: 52.83 kB / 0.7039 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005193/1.041, allocations: 362.7 kB / 0.7042 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.041, allocations: 0 / 0.7042 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00204/1.043, allocations: 446.7 kB / 0.7047 GB, free: 1.723 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.001404/1.044, allocations: 0.489 MB / 0.7052 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.047, allocations: 0.831 MB / 0.706 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.047, allocations: 6.875 kB / 0.706 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.048, allocations: 477.5 kB / 0.7064 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.05, allocations: 391.2 kB / 0.7068 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/1.053, allocations: 1.641 MB / 0.7084 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/1.054, allocations: 0.9392 MB / 0.7093 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001028/1.055, allocations: 185.8 kB / 0.7095 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.055, allocations: 71.55 kB / 0.7096 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/1.055, allocations: 0 / 0.7096 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.0372/1.092, allocations: 19.53 MB / 0.7286 GB, free: 12.37 MB / 0.5294 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: