Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00114/0.00114, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.469/1.469, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4462/0.4462, allocations: 54.93 MB / 324.3 MB, free: 164 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.001439/0.001439, allocations: 71.89 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1656, allocations: 59.58 MB / 454.2 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5084/0.674, allocations: 167.2 MB / 0.6069 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008747/0.6828, allocations: 7.175 MB / 0.6139 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.6835, allocations: 11.94 kB / 0.6139 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.6846, allocations: 222.8 kB / 0.6141 GB, free: 9.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.6882, allocations: 1.093 MB / 0.6152 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.6901, allocations: 0.6459 MB / 0.6158 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.6919, allocations: 1.565 MB / 0.6173 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005556/0.6925, allocations: 330 kB / 0.6176 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.6942, allocations: 0.7082 MB / 0.6183 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.695, allocations: 0.5022 MB / 0.6188 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.6951, allocations: 24 kB / 0.6188 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.6971, allocations: 1.177 MB / 0.62 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.6973, allocations: 183.5 kB / 0.6202 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.6976, allocations: 254.8 kB / 0.6204 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.6992, allocations: 1.13 MB / 0.6215 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6993, allocations: 0 / 0.6215 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6993, allocations: 0 / 0.6215 GB, free: 1.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.6993, allocations: 0 / 0.6215 GB, free: 1.727 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001584/0.7009, allocations: 0.8351 MB / 0.6223 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7009, allocations: 8.031 kB / 0.6223 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.702, allocations: 123.9 kB / 0.6225 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.7025, allocations: 374.9 kB / 0.6228 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.7026, allocations: 62.7 kB / 0.6229 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.7027, allocations: 39.98 kB / 0.6229 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.7036, allocations: 474.3 kB / 0.6234 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.7036, allocations: 0 / 0.6234 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.7037, allocations: 23.94 kB / 0.6234 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7037, allocations: 8 kB / 0.6234 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.7044, allocations: 407.7 kB / 0.6238 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.7069, allocations: 1.535 MB / 0.6253 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.7075, allocations: 260.3 kB / 0.6255 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.7077, allocations: 132.7 kB / 0.6257 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/0.7085, allocations: 331.2 kB / 0.626 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.7086, allocations: 47.3 kB / 0.626 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.7086, allocations: 0 / 0.626 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20): time 0.0009724/0.7096, allocations: 411.9 kB / 0.6264 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.7096, allocations: 51.41 kB / 0.6265 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.7101, allocations: 429.6 kB / 0.6269 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.7101, allocations: 33.7 kB / 0.6269 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.7103, allocations: 228.1 kB / 0.6271 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.7104, allocations: 70.95 kB / 0.6272 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.7105, allocations: 67.19 kB / 0.6273 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7106, allocations: 346.8 kB / 0.6276 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.7109, allocations: 128.4 kB / 0.6277 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.7113, allocations: 179.9 kB / 0.6279 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.7118, allocations: 324.2 kB / 0.6282 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7118, allocations: 0 / 0.6282 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007345/0.7126, allocations: 384.9 kB / 0.6286 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7126, allocations: 4.219 kB / 0.6286 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.7126, allocations: 8 kB / 0.6286 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.7127, allocations: 4 kB / 0.6286 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.713, allocations: 67.84 kB / 0.6286 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.713, allocations: 7.938 kB / 0.6286 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.7134, allocations: 55.44 kB / 0.6287 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.7134, allocations: 12 kB / 0.6287 GB, free: 9.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 33 * 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.0002501/0.7137, allocations: 173.7 kB / 0.6289 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.7139, allocations: 43.53 kB / 0.6289 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009354/0.7148, allocations: 380.2 kB / 0.6293 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.7148, allocations: 4 kB / 0.6293 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.7148, allocations: 4 kB / 0.6293 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.7149, allocations: 0 / 0.6293 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.7163, allocations: 0.8985 MB / 0.6302 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7163, allocations: 8.031 kB / 0.6302 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.7166, allocations: 47.84 kB / 0.6302 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.7166, allocations: 4.875 kB / 0.6302 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.7166, allocations: 15.92 kB / 0.6302 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7166, allocations: 0 / 0.6302 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7167, allocations: 4 kB / 0.6302 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.7176, allocations: 0.6053 MB / 0.6308 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.7179, allocations: 176.4 kB / 0.631 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.7179, allocations: 8.047 kB / 0.631 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.7184, allocations: 33.09 kB / 0.631 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.7184, allocations: 15.98 kB / 0.6311 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.7185, allocations: 19.98 kB / 0.6311 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003143/0.7188, allocations: 307.1 kB / 0.6314 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7188, allocations: 4 kB / 0.6314 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006431/0.7195, allocations: 159.7 kB / 0.6315 GB, free: 6.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.s) * 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.0006334/0.7201, allocations: 220.7 kB / 0.6317 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006492/0.7208, allocations: 295.6 kB / 0.632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7208, allocations: 0 / 0.632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.7211, allocations: 151.7 kB / 0.6322 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.7223, allocations: 232.8 kB / 0.6324 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.7239, allocations: 1.003 MB / 0.6334 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7243, allocations: 0.8231 MB / 0.6342 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004695/0.7248, allocations: 113.4 kB / 0.6343 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7249, allocations: 39.44 kB / 0.6343 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.7249, allocations: 0 / 0.6343 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.2337/0.9586, allocations: 9.669 MB / 0.6437 GB, free: 160.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)