Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001253/0.001253, 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.001549/0.001549, 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.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4042/0.4042, allocations: 54.99 MB / 325.4 MB, free: 0.7188 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. 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.000569/0.0005691, allocations: 20 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3563, allocations: 60.71 MB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.1559/0.5122, allocations: 138.6 MB / 0.582 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.5154, allocations: 1.502 MB / 0.5834 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.5158, allocations: 7.938 kB / 0.5835 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.5166, allocations: 175.2 kB / 0.5836 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.5173, allocations: 247.2 kB / 0.5839 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.5187, allocations: 477.8 kB / 0.5843 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.5194, allocations: 0.5631 MB / 0.5849 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.5198, allocations: 290.6 kB / 0.5851 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.521, allocations: 0.4907 MB / 0.5856 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.5213, allocations: 219.2 kB / 0.5858 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.5214, allocations: 21.69 kB / 0.5859 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.522, allocations: 295.5 kB / 0.5861 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.5222, allocations: 155.6 kB / 0.5863 GB, free: 8.262 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.5223, allocations: 121.5 kB / 0.5864 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.523, allocations: 0.5425 MB / 0.5869 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.523, allocations: 0 / 0.5869 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.523, allocations: 0 / 0.5869 GB, free: 7.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.523, allocations: 0 / 0.5869 GB, free: 7.605 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001305/0.5243, allocations: 0.7113 MB / 0.5876 GB, free: 6.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5244, allocations: 8.031 kB / 0.5876 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.5248, allocations: 79.5 kB / 0.5877 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.5254, allocations: 351.9 kB / 0.588 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.5254, allocations: 29 kB / 0.5881 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.5255, allocations: 36 kB / 0.5881 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.5265, allocations: 0.5004 MB / 0.5886 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5265, allocations: 7.938 kB / 0.5886 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.5266, allocations: 16 kB / 0.5886 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.5266, allocations: 12.75 kB / 0.5886 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/0.5276, allocations: 431.7 kB / 0.589 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.5303, allocations: 1.697 MB / 0.5907 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.5311, allocations: 330 kB / 0.591 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.5316, allocations: 218.1 kB / 0.5912 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5317, allocations: 38.56 kB / 0.5913 GB, free: 2.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.5317, allocations: 0 / 0.5913 GB, free: 2.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=21): time 0.001181/0.5329, allocations: 459 kB / 0.5917 GB, free: 2.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.5329, allocations: 52.44 kB / 0.5917 GB, free: 2.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.5333, allocations: 377.6 kB / 0.5921 GB, free: 1.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5334, allocations: 29.7 kB / 0.5921 GB, free: 1.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5335, allocations: 227.9 kB / 0.5923 GB, free: 1.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.5336, allocations: 82.84 kB / 0.5924 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.5336, allocations: 4 kB / 0.5924 GB, free: 1.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5338, allocations: 342.8 kB / 0.5928 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.5341, allocations: 147.9 kB / 0.5929 GB, free: 1.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.5345, allocations: 216.9 kB / 0.5931 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.5349, allocations: 161.7 kB / 0.5933 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5349, allocations: 0.5625 kB / 0.5933 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009915/0.5359, allocations: 444.8 kB / 0.5937 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.536, allocations: 11.98 kB / 0.5937 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.536, allocations: 5.047 kB / 0.5937 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.536, allocations: 4 kB / 0.5937 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.5364, allocations: 83.89 kB / 0.5938 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5364, allocations: 4.938 kB / 0.5938 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.5367, allocations: 67.56 kB / 0.5939 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5368, allocations: 8.625 kB / 0.5939 GB, free: 136 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.537, allocations: 177.7 kB / 0.594 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.5371, allocations: 39.58 kB / 0.5941 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.5379, allocations: 384.8 kB / 0.5944 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5379, allocations: 0 / 0.5944 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5379, allocations: 0 / 0.5944 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5379, allocations: 4 kB / 0.5944 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5396, allocations: 0.9968 MB / 0.5954 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5396, allocations: 2.188 kB / 0.5954 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.5399, allocations: 68 kB / 0.5955 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5399, allocations: 0 / 0.5955 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5399, allocations: 7.984 kB / 0.5955 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5399, allocations: 0 / 0.5955 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.54, allocations: 5.312 kB / 0.5955 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5412, allocations: 0.643 MB / 0.5961 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.5414, allocations: 156.6 kB / 0.5963 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.5414, allocations: 7.953 kB / 0.5963 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.5419, allocations: 51.95 kB / 0.5963 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.5419, allocations: 15.98 kB / 0.5963 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.542, allocations: 23.97 kB / 0.5964 GB, free: 13.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.5423, allocations: 259.2 kB / 0.5966 GB, free: 13.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5423, allocations: 0 / 0.5966 GB, free: 13.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000502/0.5428, allocations: 145.2 kB / 0.5968 GB, free: 13.01 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00042/0.5432, allocations: 176.1 kB / 0.5969 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.544, allocations: 327.7 kB / 0.5972 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.544, allocations: 0 / 0.5972 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.5444, allocations: 164.4 kB / 0.5974 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.5453, allocations: 175.3 kB / 0.5976 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5467, allocations: 0.8754 MB / 0.5984 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.5472, allocations: 0.8314 MB / 0.5992 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.5476, allocations: 89.09 kB / 0.5993 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.5477, allocations: 31.44 kB / 0.5993 GB, free: 10.32 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5477, allocations: 0 / 0.5993 GB, free: 10.32 MB / 478.1 MB Notification: Performance of Templates: time 0.01296/0.5606, allocations: 7.163 MB / 0.6063 GB, free: 3.27 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: