Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") translateModel(Annex60.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, 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.001113/0.001113, allocations: 194.3 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.38/0.38, allocations: 54.95 MB / 324.7 MB, free: 15.89 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.00182/0.00182, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1267, allocations: 59.6 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.4028/0.5295, allocations: 185 MB / 0.6249 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009751/0.5393, allocations: 6.786 MB / 0.6315 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5407, allocations: 23.88 kB / 0.6316 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.5423, allocations: 489.1 kB / 0.632 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.546, allocations: 1.318 MB / 0.6333 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.5496, allocations: 1.245 MB / 0.6345 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.5528, allocations: 2.297 MB / 0.6368 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5539, allocations: 0.7298 MB / 0.6375 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.5561, allocations: 0.9925 MB / 0.6385 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3904/0.9466, allocations: 0.6912 MB / 0.6391 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.9471, allocations: 84.78 kB / 0.6392 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.9517, allocations: 1.602 MB / 0.6408 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000741/0.9525, allocations: 361.1 kB / 0.6411 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.9536, allocations: 0.5075 MB / 0.6416 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.9579, allocations: 1.857 MB / 0.6434 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.9579, allocations: 1.875 kB / 0.6434 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9579, allocations: 3.188 kB / 0.6434 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.958, allocations: 2.391 kB / 0.6434 GB, free: 4.477 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002588/0.9606, allocations: 1.256 MB / 0.6447 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.9606, allocations: 9.375 kB / 0.6447 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.9631, allocations: 256.8 kB / 0.6449 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.9642, allocations: 0.5939 MB / 0.6455 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.9643, allocations: 53.48 kB / 0.6456 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.9644, allocations: 69.55 kB / 0.6456 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.9664, allocations: 0.8099 MB / 0.6464 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.9665, allocations: 3.375 kB / 0.6464 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.9666, allocations: 25.06 kB / 0.6464 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.9666, allocations: 24.73 kB / 0.6465 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.9684, allocations: 0.6603 MB / 0.6471 GB, free: 3.402 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/0.9735, allocations: 2.878 MB / 0.6499 GB, free: 17.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.9745, allocations: 436.6 kB / 0.6503 GB, free: 17.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.975, allocations: 227.7 kB / 0.6506 GB, free: 17.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.9755, allocations: 123.2 kB / 0.6507 GB, free: 17.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.9755, allocations: 43.73 kB / 0.6507 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/0.9756, allocations: 1.094 kB / 0.6507 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.002189/0.9778, allocations: 0.6641 MB / 0.6514 GB, free: 17.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.9778, allocations: 56 kB / 0.6514 GB, free: 17.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.9788, allocations: 0.6015 MB / 0.652 GB, free: 17.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.9789, allocations: 34.14 kB / 0.652 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.9793, allocations: 370.4 kB / 0.6524 GB, free: 17.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.9794, allocations: 147.7 kB / 0.6525 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.9797, allocations: 100.2 kB / 0.6526 GB, free: 17.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003099/0.98, allocations: 376.8 kB / 0.653 GB, free: 16.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.9805, allocations: 201.2 kB / 0.6532 GB, free: 16.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.9811, allocations: 312.1 kB / 0.6535 GB, free: 16.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.9822, allocations: 0.5037 MB / 0.654 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9823, allocations: 1.906 kB / 0.654 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001481/0.9838, allocations: 0.6044 MB / 0.6546 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.9838, allocations: 6.938 kB / 0.6546 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.9838, allocations: 5.922 kB / 0.6546 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.9839, allocations: 6.156 kB / 0.6546 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.9862, allocations: 290.2 kB / 0.6548 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.9893, allocations: 1.65 MB / 0.6565 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.9901, allocations: 68.69 kB / 0.6565 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.9902, allocations: 19.05 kB / 0.6565 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009315/0.9911, allocations: 385.2 kB / 0.6569 GB, free: 15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005715/0.9917, allocations: 300.6 kB / 0.6572 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001079/0.9928, allocations: 495 kB / 0.6577 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/0.9928, allocations: 0.9375 kB / 0.6577 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.001367/0.9942, allocations: 0.5839 MB / 0.6582 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9942, allocations: 6.562 kB / 0.6582 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9942, allocations: 6.812 kB / 0.6583 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9943, allocations: 8.875 kB / 0.6583 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.995, allocations: 130.9 kB / 0.6584 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.9951, allocations: 10.19 kB / 0.6584 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.9958, allocations: 46.81 kB / 0.6584 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.9958, allocations: 17.22 kB / 0.6585 GB, free: 14.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.9961, allocations: 212.8 kB / 0.6587 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.9963, allocations: 67.28 kB / 0.6587 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.9978, allocations: 0.5089 MB / 0.6592 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.9979, allocations: 4.344 kB / 0.6592 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9979, allocations: 1.094 kB / 0.6592 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/0.9991, allocations: 0.7385 MB / 0.6599 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/1.002, allocations: 1.296 MB / 0.6612 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.002, allocations: 2.312 kB / 0.6612 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.004, allocations: 273.2 kB / 0.6615 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/1.004, allocations: 4 kB / 0.6615 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/1.004, allocations: 13.55 kB / 0.6615 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/1.007, allocations: 1.619 MB / 0.6631 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.007, allocations: 5.984 kB / 0.6631 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.009, allocations: 0.8661 MB / 0.6639 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/1.01, allocations: 212.4 kB / 0.6641 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.01, allocations: 19.56 kB / 0.6641 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007984/1.011, allocations: 28.84 kB / 0.6642 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.011, allocations: 33.41 kB / 0.6642 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.011, allocations: 26.16 kB / 0.6642 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008764/1.012, allocations: 426 kB / 0.6646 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/1.012, allocations: 0 / 0.6646 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002134/1.014, allocations: 409.9 kB / 0.665 GB, free: 11.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006697/1.015, allocations: 183 kB / 0.6652 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003894/1.018, allocations: 0.9462 MB / 0.6661 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.018, allocations: 5.031 kB / 0.6661 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/1.022, allocations: 0.523 MB / 0.6666 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/1.025, allocations: 437.2 kB / 0.6671 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.029, allocations: 1.514 MB / 0.6685 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/1.03, allocations: 0.981 MB / 0.6695 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001377/1.031, allocations: 223 kB / 0.6697 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/1.031, allocations: 53.67 kB / 0.6698 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/1.031, allocations: 0.6562 kB / 0.6698 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.02975/1.061, allocations: 14.95 MB / 0.6844 GB, free: 7.922 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe 2>&1)