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.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.394/0.394, allocations: 54.95 MB / 324.7 MB, free: 15.92 MB / 270.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.001353/0.001354, allocations: 71.89 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 59.58 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.4373/0.5836, allocations: 165.4 MB / 0.6057 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.5869, allocations: 1.447 MB / 0.6072 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.5872, allocations: 7.938 kB / 0.6072 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008373/0.5881, allocations: 238.5 kB / 0.6074 GB, free: 380 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.589, allocations: 350.1 kB / 0.6077 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.5911, allocations: 0.8288 MB / 0.6085 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.5923, allocations: 1.038 MB / 0.6095 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000517/0.5928, allocations: 369.1 kB / 0.6099 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009457/0.5938, allocations: 0.502 MB / 0.6104 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.5943, allocations: 330.8 kB / 0.6107 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.5943, allocations: 45.53 kB / 0.6108 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.5954, allocations: 0.6355 MB / 0.6114 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.5956, allocations: 187.5 kB / 0.6115 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.5959, allocations: 258.9 kB / 0.6118 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.597, allocations: 0.8961 MB / 0.6127 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.597, allocations: 4 kB / 0.6127 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.597, allocations: 8 kB / 0.6127 GB, free: 10.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.597, allocations: 0 / 0.6127 GB, free: 10.94 MB / 494.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.001409/0.5984, allocations: 0.804 MB / 0.6135 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5985, allocations: 12.03 kB / 0.6135 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.5989, allocations: 75.44 kB / 0.6136 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.5994, allocations: 342.1 kB / 0.6139 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5994, allocations: 29 kB / 0.6139 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.5995, allocations: 36 kB / 0.6139 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.6004, allocations: 0.4949 MB / 0.6144 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6004, allocations: 0 / 0.6144 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.6005, allocations: 24.55 kB / 0.6144 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.6005, allocations: 12 kB / 0.6145 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008634/0.6014, allocations: 403.7 kB / 0.6148 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.6038, allocations: 1.682 MB / 0.6165 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.6045, allocations: 316.7 kB / 0.6168 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.6048, allocations: 141.3 kB / 0.6169 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/0.6053, allocations: 210.1 kB / 0.6171 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.6053, allocations: 46.81 kB / 0.6172 GB, free: 6.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.6053, allocations: 1.031 kB / 0.6172 GB, free: 6.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001082/0.6064, allocations: 414.6 kB / 0.6176 GB, free: 5.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6065, allocations: 55.41 kB / 0.6176 GB, free: 5.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.6068, allocations: 369.7 kB / 0.618 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.6069, allocations: 29.7 kB / 0.618 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.607, allocations: 223.9 kB / 0.6182 GB, free: 4.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.6071, allocations: 78.84 kB / 0.6183 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.6072, allocations: 57.7 kB / 0.6183 GB, free: 4.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6073, allocations: 346.8 kB / 0.6187 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.6076, allocations: 123.9 kB / 0.6188 GB, free: 4.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.608, allocations: 206 kB / 0.619 GB, free: 4.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.6087, allocations: 345.9 kB / 0.6193 GB, free: 3.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6087, allocations: 4 kB / 0.6193 GB, free: 3.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008065/0.6095, allocations: 397.6 kB / 0.6197 GB, free: 3.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6095, allocations: 12.81 kB / 0.6197 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6095, allocations: 4 kB / 0.6197 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6096, allocations: 4 kB / 0.6197 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.6099, allocations: 71.83 kB / 0.6198 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6099, allocations: 5 kB / 0.6198 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.6102, allocations: 59.5 kB / 0.6198 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.6102, allocations: 8 kB / 0.6199 GB, free: 3.184 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.6104, allocations: 181.7 kB / 0.62 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.6105, allocations: 44.59 kB / 0.6201 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/0.6113, allocations: 335.3 kB / 0.6204 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6113, allocations: 7.938 kB / 0.6204 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6113, allocations: 0 / 0.6204 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6113, allocations: 7.984 kB / 0.6204 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.6127, allocations: 0.9638 MB / 0.6213 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6127, allocations: 0 / 0.6213 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.613, allocations: 59.89 kB / 0.6214 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.613, allocations: 3.984 kB / 0.6214 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.6131, allocations: 4.5 kB / 0.6214 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6131, allocations: 0 / 0.6214 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6131, allocations: 4.781 kB / 0.6214 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.6142, allocations: 0.5816 MB / 0.622 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.6143, allocations: 145.7 kB / 0.6221 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.6144, allocations: 8 kB / 0.6221 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.6147, allocations: 23.97 kB / 0.6222 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.6148, allocations: 23.91 kB / 0.6222 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.6149, allocations: 24.05 kB / 0.6222 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.6151, allocations: 264 kB / 0.6225 GB, free: 384 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6151, allocations: 0 / 0.6225 GB, free: 384 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.6156, allocations: 147.8 kB / 0.6226 GB, free: 236 kB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004203/0.616, allocations: 181.7 kB / 0.6228 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007824/0.6168, allocations: 320.7 kB / 0.6231 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6168, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.6172, allocations: 131.8 kB / 0.6232 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.6182, allocations: 194.8 kB / 0.6234 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.6193, allocations: 0.741 MB / 0.6241 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.6197, allocations: 0.8192 MB / 0.6249 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.6201, allocations: 89.28 kB / 0.625 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.6202, allocations: 27.44 kB / 0.625 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.6202, allocations: 0 / 0.625 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.01672/0.6369, allocations: 8.069 MB / 0.6329 GB, free: 5.77 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.makefile (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)