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.001208/0.001208, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001294/0.001294, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4066/0.4066, allocations: 54.93 MB / 324.4 MB, free: 176 kB / 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.00137/0.00137, allocations: 71.89 kB / 394.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 59.59 MB / 454.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.4109/0.5611, allocations: 163.1 MB / 0.6031 GB, free: 4.719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.5641, allocations: 1.434 MB / 0.6045 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.5646, allocations: 7.938 kB / 0.6045 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008623/0.5656, allocations: 200 kB / 0.6047 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.5667, allocations: 338.3 kB / 0.605 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.5691, allocations: 0.7669 MB / 0.6058 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.5705, allocations: 1.042 MB / 0.6068 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007077/0.5712, allocations: 357.1 kB / 0.6071 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.5723, allocations: 0.502 MB / 0.6076 GB, free: 84 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.5728, allocations: 358.7 kB / 0.608 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.5728, allocations: 44 kB / 0.608 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.5741, allocations: 0.6626 MB / 0.6086 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.5743, allocations: 191.5 kB / 0.6088 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.5746, allocations: 255 kB / 0.6091 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.576, allocations: 0.9243 MB / 0.61 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.576, allocations: 4 kB / 0.61 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.576, allocations: 0 / 0.61 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.576, allocations: 0 / 0.61 GB, free: 13.66 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.001447/0.5775, allocations: 0.8079 MB / 0.6108 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5775, allocations: 8.031 kB / 0.6108 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.578, allocations: 71.5 kB / 0.6108 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.5785, allocations: 354.1 kB / 0.6112 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.5785, allocations: 32.98 kB / 0.6112 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.5786, allocations: 36 kB / 0.6112 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5796, allocations: 498.8 kB / 0.6117 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5797, allocations: 9.531 kB / 0.6117 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.5797, allocations: 24 kB / 0.6118 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5797, allocations: 8 kB / 0.6118 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/0.5807, allocations: 403.7 kB / 0.6121 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.5836, allocations: 1.67 MB / 0.6138 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.5844, allocations: 320.4 kB / 0.6141 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.5848, allocations: 144.8 kB / 0.6142 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/0.5853, allocations: 206.1 kB / 0.6144 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.5854, allocations: 46.81 kB / 0.6145 GB, free: 8.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.415e-06/0.5854, allocations: 0 / 0.6145 GB, free: 8.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001088/0.5865, allocations: 412.5 kB / 0.6149 GB, free: 8.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.5866, allocations: 59.39 kB / 0.6149 GB, free: 8.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.587, allocations: 369.7 kB / 0.6153 GB, free: 7.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.5871, allocations: 30.64 kB / 0.6153 GB, free: 7.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.5872, allocations: 223.9 kB / 0.6155 GB, free: 7.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.5873, allocations: 78.84 kB / 0.6156 GB, free: 7.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5874, allocations: 61.69 kB / 0.6156 GB, free: 7.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.5877, allocations: 342.8 kB / 0.616 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.588, allocations: 127.9 kB / 0.6161 GB, free: 7.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.5884, allocations: 204.9 kB / 0.6163 GB, free: 6.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.589, allocations: 341.9 kB / 0.6166 GB, free: 6.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.589, allocations: 0 / 0.6166 GB, free: 6.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008191/0.5899, allocations: 403.5 kB / 0.617 GB, free: 6.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5899, allocations: 8 kB / 0.617 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5899, allocations: 4.5 kB / 0.617 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5899, allocations: 4 kB / 0.617 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.5903, allocations: 71.88 kB / 0.6171 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5903, allocations: 8.484 kB / 0.6171 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.5907, allocations: 72.12 kB / 0.6172 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5907, allocations: 8 kB / 0.6172 GB, free: 5.887 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.0002136/0.5909, allocations: 177.7 kB / 0.6173 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.591, allocations: 35.53 kB / 0.6174 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.5918, allocations: 342.9 kB / 0.6177 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.5918, allocations: 4 kB / 0.6177 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5918, allocations: 3.984 kB / 0.6177 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5918, allocations: 0 / 0.6177 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5936, allocations: 0.9656 MB / 0.6186 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5936, allocations: 0 / 0.6186 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5939, allocations: 55.98 kB / 0.6187 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5939, allocations: 8 kB / 0.6187 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5939, allocations: 0 / 0.6187 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.5939, allocations: 6.094 kB / 0.6187 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5939, allocations: 0 / 0.6187 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.595, allocations: 0.5776 MB / 0.6193 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5952, allocations: 148.7 kB / 0.6194 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.5953, allocations: 4 kB / 0.6194 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.5957, allocations: 40.02 kB / 0.6195 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.5958, allocations: 23.91 kB / 0.6195 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.5958, allocations: 20.55 kB / 0.6195 GB, free: 3.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002752/0.5961, allocations: 263.2 kB / 0.6198 GB, free: 3.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5961, allocations: 0 / 0.6198 GB, free: 3.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.5967, allocations: 151.7 kB / 0.6199 GB, free: 2.938 MB / 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.0006744/0.5974, allocations: 190.6 kB / 0.6201 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.5982, allocations: 307.5 kB / 0.6204 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5982, allocations: 1.688 kB / 0.6204 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.5985, allocations: 143.8 kB / 0.6205 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5996, allocations: 194.5 kB / 0.6207 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.6012, allocations: 0.8706 MB / 0.6215 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.6017, allocations: 0.8153 MB / 0.6223 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.6021, allocations: 86.11 kB / 0.6224 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.6022, allocations: 35.44 kB / 0.6225 GB, free: 296 kB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6022, allocations: 0 / 0.6225 GB, free: 296 kB / 494.1 MB Notification: Performance of Templates: time 0.0155/0.6177, allocations: 7.881 MB / 0.6302 GB, free: 8.543 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)